Skip to content

Commit 8e4e6ff

Browse files
authored
fix build.yml e2e test trigger (#6415)
Signed-off-by: jorgee <[email protected]>
1 parent 24314b1 commit 8e4e6ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)