Skip to content

Commit

Permalink
Update version_update_trigger.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekshindhe committed Dec 20, 2024
1 parent 6ff3564 commit 13f756a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/version_update_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
versionName=${version_line/$pattern1/}
versionName=${versionName/$pattern2/}
prBody="${{ github.event.pull_request.body }}"
finalVersionName="${versionName}"
echo "$prBody"
echo "$versionName"
curl -X POST -H 'Content-type: application/json; charset=UTF-8' \
-H "Authorization: Bearer ${{ secrets.CHECKOUT_SLACK_BOT_TOKEN }}" \
--data '{
"channel": "C02GTS30HUN",
"text": "Version update found for Checkout PG Core SDK. Please find the version update details below:\nSDK Variant: React Native Standard Checkout SDK\nNew Version:`${versionName}`\nChangelog:`${prBody}`\ncc: <!subteam^S086N4NN8SU>"
}' \
--data "{\"channel\":\"C02GTS30HUN\",\"text\":\"Version update found for Checkout PG Core SDK. Please find the version update details below:\\nSDK Variant: React Native Standard Checkout SDK\\nNew Version:${versionName}\\nChangelog:${prBody}\\ncc:<!subteam^S086N4NN8SU>\"}" \
https://slack.com/api/chat.postMessage

0 comments on commit 13f756a

Please sign in to comment.