Skip to content

Commit e0a05ff

Browse files
authored
Merge pull request #11 from scribd/kamranf/bugfix
bug: quote commit_message to prevent bash failure
2 parents 72559b8 + 536ee41 commit e0a05ff

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)