From 2dca5cde31c36a4c5fc1df53fe313784f7767be0 Mon Sep 17 00:00:00 2001 From: Mikhail Andrenkov Date: Fri, 6 Oct 2023 10:16:51 -0400 Subject: [PATCH] Escape backticks when generating Docker image tags (#53) * Replace `"` with `'` --- generate-docker-image-tags/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-docker-image-tags/action.yml b/generate-docker-image-tags/action.yml index 6debbeb..a9b4a3b 100644 --- a/generate-docker-image-tags/action.yml +++ b/generate-docker-image-tags/action.yml @@ -68,7 +68,7 @@ runs: then # Workflow was triggered by a "push" event. PR_NUMBER=$( \ - (echo "${{ github.event.head_commit.message }}" \ + (echo '${{ github.event.head_commit.message }}' \ | grep -o "\(#[0-9]\+\)" || true) \ | sed "s/[#()]//g" \ )