mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 04:00:49 +00:00
Add a slack webhook curl req for endpoint bumps
This commit is contained in:
parent
9d44eca1d1
commit
cbbbe703d3
1 changed files with 6 additions and 2 deletions
8
.github/workflows/bump-endpoint.yml
vendored
8
.github/workflows/bump-endpoint.yml
vendored
|
|
@ -75,8 +75,12 @@ jobs:
|
|||
git add install-scripts/install-endpoint-mac.sh install-scripts/install-endpoint-windows.ps1
|
||||
git commit -m "Bump Endpoint to ${NEW}"
|
||||
git push origin "$BRANCH"
|
||||
gh pr create \
|
||||
PR_URL=$(gh pr create \
|
||||
--title "Bump Endpoint to ${NEW}" \
|
||||
--body "Automated bump of safechain-internals endpoint from \`${OLD}\` to \`${NEW}\`." \
|
||||
--head "$BRANCH" \
|
||||
--base main
|
||||
--base main)
|
||||
|
||||
curl -s -X POST "https://hooks.slack.com/triggers/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" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{\"text\": \"update to ${NEW} - ${PR_URL}\"}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue