Skip to content

Commit

Permalink
fixing parameter expansion for PR_COMIT_MESSAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-bdesimone committed Nov 17, 2021
1 parent 569b896 commit 3b8d2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/get-pr-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ steps:
COMMIT_RESPONSE=$(curl -H "Authorization: token $GITHUB_TOKEN" "$COMMIT_REQUEST_URL")
PR_COMMIT_MESSAGE=$(echo $COMMIT_RESPONSE | jq -e '.commit.message' | tr -d '"')
echo "PR_COMMIT_MESSAGE: $PR_COMMIT_MESSAGE"
echo "export GITHUB_PR_COMMIT_MESSAGE='${PR_COMMIT_MESSAGE/"'"/}'" >> $BASH_ENV
echo "export GITHUB_PR_COMMIT_MESSAGE='${PR_COMMIT_MESSAGE//\'/}'" >> $BASH_ENV
<</ parameters.get_commit_message >>

0 comments on commit 3b8d2f4

Please sign in to comment.