diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 60717776a87eb..df752d2aa41f0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1252,8 +1252,10 @@ jobs: make sqlc-vet notify-slack-on-failure: + needs: + - required runs-on: ubuntu-latest - if: always() && failure() && github.ref == 'refs/heads/main' + if: failure() && github.ref == 'refs/heads/main' steps: - name: Send Slack notification @@ -1276,10 +1278,6 @@ jobs: "type": "mrkdwn", "text": "*Workflow:*\n${{ github.workflow }}" }, - { - "type": "mrkdwn", - "text": "*Failed Job:*\n${{ github.job }}" - }, { "type": "mrkdwn", "text": "*Committer:*\n${{ github.actor }}" diff --git a/.github/workflows/nightly-gauntlet.yaml b/.github/workflows/nightly-gauntlet.yaml index c76eba484bfde..5814ddf72b60f 100644 --- a/.github/workflows/nightly-gauntlet.yaml +++ b/.github/workflows/nightly-gauntlet.yaml @@ -101,10 +101,6 @@ jobs: "type": "mrkdwn", "text": "*Workflow:*\n${{ github.workflow }}" }, - { - "type": "mrkdwn", - "text": "*Failed Job:*\n${{ github.job }}" - }, { "type": "mrkdwn", "text": "*Committer:*\n${{ github.actor }}"