diff --git a/.github/workflows/ci-local.yml b/.github/workflows/ci-local.yml index 6063b29..32fa497 100644 --- a/.github/workflows/ci-local.yml +++ b/.github/workflows/ci-local.yml @@ -105,4 +105,13 @@ jobs: - name: Run check:data test run: .github/scripts/kava-localnet-ci/cli.sh shell: bash - working-directory: ./rosetta-kava \ No newline at end of file + working-directory: ./rosetta-kava + + - name: Send slack notification if job failed + uses: slackapi/slack-github-action@v1.26.0 + if: ${{ failure() }} + with: + channel-id: ${{ vars.SLACK_CHANNEL_ID }} + slack-message: "Rosetta-kava CI failed, details: https://github.com/Kava-Labs/rosetta-kava/actions/runs/${{github.run_id}}" + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_ALERTS_BOT_TOKEN }}