Skip to content

Commit

Permalink
ci: base64 encoding adding a new line after 76 char
Browse files Browse the repository at this point in the history
  • Loading branch information
ohassine authored and MohamadJaara committed Feb 6, 2024
1 parent 22bd1b4 commit 8e5857a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cherry-pick-rc-to-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
git add ${{ env.SUBMODULE_NAME }}
git commit -m "Update submodule ${{ env.SUBMODULE_NAME }} to latest from ${{ env.TARGET_BRANCH }}"
# Base64 encode the commit message to avoid issues with newlines and special characters
echo "lastCommitMessageBase64=$(echo "$LAST_COMMIT_MESSAGE" | base64)" >> $GITHUB_ENV
echo "lastCommitMessageBase64=$(echo "$LAST_COMMIT_MESSAGE" | base64 -w 0 )" >> $GITHUB_ENV
- name: Get Cherry-pick commit
id: get-cherry
Expand Down

0 comments on commit 8e5857a

Please sign in to comment.