Skip to content

Commit 536ee41

Browse files
committed
bug: quote commit_message to prevent bash failure
1 parent 72559b8 commit 536ee41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ runs:
5050
commit_message=$(git log --format=%B -n 1 | head -n 1)
5151
message="<https://github.com/${{ inputs.repository }}/commit/${{ github.sha }}|$commit_message>"
5252
else
53-
commit_message=Link to the latest commit in the repository
53+
commit_message="Link to the latest commit in the repository"
5454
message="<https://github.com/${{ inputs.repository }}/commit/${{ github.sha }}|$commit_message>"
5555
fi
5656
echo "message=$message" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)