From 35dda557ab6dea45692fc0fb145e1543d1dd93e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Mon, 3 Feb 2025 11:06:53 +0100 Subject: [PATCH] GH Action/update-images: escape back-quote when echoing PR body MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make sure that shell does not interpret the text within the back-quote as a command to execute in a sub-shell. Signed-off-by: Tomáš Hozza --- .github/workflows/update-images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-images.yml b/.github/workflows/update-images.yml index d69b7f1e..b70fe352 100644 --- a/.github/workflows/update-images.yml +++ b/.github/workflows/update-images.yml @@ -42,7 +42,7 @@ git add Schutzfile git commit -m "Schutzfile: Update images dependency ref to latest" git push -f https://"$GITHUB_TOKEN"@github.com/schutzbot/osbuild.git - echo "Updating images dependency ref to current `main`" > body + echo "Updating images dependency ref to current \`main\` > body gh pr create \ -t "Update images dependency ref to latest" \ -F "body" \