File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ jobs:
4343 COMMIT_MESSAGE="$(curl -s \
4444 -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
4545 https://api.github.com/repos/${{ github.repository }}/commits/$COMMIT_SHA | jq -r '.commit.message' | head -n 1)"
46- echo "Commit message=$(printf "%q " "$COMMIT_MESSAGE")"
47- echo "commit_message=$(printf "%q " "$COMMIT_MESSAGE")" >> $GITHUB_OUTPUT
46+ echo "Commit message=$(printf "%s " "$COMMIT_MESSAGE")"
47+ echo "commit_message=$(printf "%s " "$COMMIT_MESSAGE")" >> $GITHUB_OUTPUT
4848 else
4949 echo "GitHub event=${{ github.event_name }}"
5050 # Extract only the first line of the commit message
5151 COMMIT_MESSAGE="$(git log -1 --pretty=format:'%s')"
52- echo "Commit message=$(printf "%q " "$COMMIT_MESSAGE")"
53- echo "commit_message=$(printf "%q " "$COMMIT_MESSAGE")" >> $GITHUB_OUTPUT
52+ echo "Commit message=$(printf "%s " "$COMMIT_MESSAGE")"
53+ echo "commit_message=$(printf "%s " "$COMMIT_MESSAGE")" >> $GITHUB_OUTPUT
5454 fi
5555
5656 - name : Setup env
You can’t perform that action at this time.
0 commit comments