Skip to content

Commit 06b3a07

Browse files
committed
[e2e prod] fix build.yml e2e test trigger
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
1 parent ef98b40 commit 06b3a07

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ 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')"
46-
echo "Commit message=$(printf "%q" "$COMMIT_MESSAGE")" | head -n 1
47-
echo "commit_message=$(printf "%q" "$COMMIT_MESSAGE")" | head -n 1 >> $GITHUB_OUTPUT
46+
echo "Commit message=$(printf "%s" "$COMMIT_MESSAGE")" | head -n 1
47+
echo "commit_message=$(printf "%s" "$COMMIT_MESSAGE")" | head -n 1 >> $GITHUB_OUTPUT
4848
else
4949
echo "GitHub event=${{ github.event_name }}"
5050
COMMIT_MESSAGE="${{ github.event.head_commit.message }}"
51-
echo "Commit message=$(printf "%q" "$COMMIT_MESSAGE")" | head -n 1
52-
echo "commit_message=$(printf "%q" "$COMMIT_MESSAGE")" | head -n 1 >> $GITHUB_OUTPUT
51+
echo "Commit message=$(printf "%s" "$COMMIT_MESSAGE")" | head -n 1
52+
echo "commit_message=$(printf "%s" "$COMMIT_MESSAGE")" | head -n 1 >> $GITHUB_OUTPUT
5353
fi
5454
5555
- name: Setup env

0 commit comments

Comments
 (0)