From bdb59cb4dc2c691798be3d1ef46d422f8fcd930d Mon Sep 17 00:00:00 2001 From: ludamad Date: Thu, 18 Apr 2024 11:45:53 -0400 Subject: [PATCH] chore(ci): Notify on ARM failures (#5847) --- .github/workflows/ci-arm.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci-arm.yml b/.github/workflows/ci-arm.yml index f9f2929eedb..84e4cc7dda1 100644 --- a/.github/workflows/ci-arm.yml +++ b/.github/workflows/ci-arm.yml @@ -58,3 +58,18 @@ jobs: working-directory: ./yarn-project/end-to-end/ timeout-minutes: 15 run: earthly -P --no-output +uniswap-trade-on-l1-from-l2 --e2e_mode=cache + + notify: + needs: [e2e] + runs-on: ubuntu-latest + if: ${{ github.ref == 'refs/heads/master' && failure() }} + steps: + - name: Send notification to aztec3-ci channel if workflow failed on master + uses: slackapi/slack-github-action@v1.25.0 + with: + payload: | + { + "url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFY_WORKFLOW_TRIGGER_URL }}