Skip to content

Commit

Permalink
chore: add notification on failed release build (#4589)
Browse files Browse the repository at this point in the history
* chore: add notification on failed release build

* chore: use contais

---------

Co-authored-by: Assem <asem.hasna@gmail.com>
  • Loading branch information
tomjohnburton and ahasna authored Mar 4, 2024
1 parent 58c952c commit ea4d1db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/_40_post_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,14 @@ jobs:
docker compose -f localnet/docker-compose.yml -p "chainflip-localnet" down --rmi all --volumes --remove-orphans
- name: Notify on failed bouncer 📢
if: failure() && github.ref_name == 'main' || cancelled() && github.ref_name == 'main'
if: failure() && github.ref_name == 'main' || cancelled() && github.ref_name == 'main' || failure() && contains(github.ref_name, 'release/') || cancelled() && contains(github.ref_name, 'release/')
env:
DISCORD_USERNAME: "HEUTE LEIDER NICHT"
DISCORD_WEBHOOK: ${{ secrets.CF_DISCORD_ALERTS_CRITICAL }}
uses: Ilshidur/action-discord@0c4b27844ba47cb1c7bee539c8eead5284ce9fa9
with:
args: |
❗️❗️❗️❗️ Sorry **${{ github.actor }}**, the Bouncer has rejected you ❗️❗️❗️❗️
The Bouncer has rejected the build on branch `${{ github.ref_name }}`
👾 Link to job: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>
#️⃣ Tagging: <@&939151218708709416>

0 comments on commit ea4d1db

Please sign in to comment.