Skip to content

Commit

Permalink
Escape backticks when generating Docker image tags (#53)
Browse files Browse the repository at this point in the history
* Replace `"` with `'`
  • Loading branch information
Mandrenkov authored Oct 6, 2023
1 parent 0504013 commit 2dca5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-docker-image-tags/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
)
Expand Down

0 comments on commit 2dca5cd

Please sign in to comment.