diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index b40efc78ef..1a5107ff3e 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -67,3 +67,15 @@ jobs: BATCH_POSTER_MONITORING_SLACK_CHANNEL: ${{ secrets[steps.config.outputs.slack_channel] }} ASSERTION_MONITORING_SLACK_TOKEN: ${{ secrets[steps.config.outputs.slack_token] }} ASSERTION_MONITORING_SLACK_CHANNEL: ${{ secrets[steps.config.outputs.slack_channel] }} + NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }} + NOVA_MONITOR_RPC_URL: ${{ secrets.NOVA_MONITOR_RPC_URL }} + ARB_ONE_MONITOR_RPC_URL: ${{ secrets.ARB_ONE_MONITOR_RPC_URL }} + + - name: Send Slack notification on failure + if: failure() + uses: slackapi/slack-github-action@v1.27.0 + with: + channel-id: ${{ secrets[steps.config.outputs.slack_channel] }} + slack-message: "Error: Monitoring run failed for ${{ inputs.monitor }}\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" + env: + SLACK_BOT_TOKEN: ${{ secrets[steps.config.outputs.slack_token] }}