Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5890 from trufflesuite/saggy-comms-2
Browse files Browse the repository at this point in the history
Temporarily disable job failure notifications
  • Loading branch information
cds-amal authored Feb 13, 2023
2 parents 9ca5930 + 8584ae6 commit 18cc63b
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@ jobs:
- run: npm install -g yarn
- run: yarn install --ignore-scripts --ignore-engines
- run: test -z "$(git diff)" || (echo 'Please run yarn and commit all changes to yarn.lock'; false)
- uses: 8398a7/action-slack@v3
with:
channel: '#truffle-ci-notifications'
status: ${{ job.status }}
fields: job,commit,author,pullRequest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: failure()

build:
needs: yarncheck
Expand All @@ -61,28 +52,4 @@ jobs:

- run: ${{ matrix.env }} yarn ci
env:
CI: true
- uses: 8398a7/action-slack@v3
with:
channel: '#truffle-ci-notifications'
status: ${{ job.status }}
fields: job,commit,author,pullRequest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MATRIX_CONTEXT: ${{ toJson(matrix) }} # required for matrix field: job
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: failure()

# slack_notification:
# needs: [yarncheck, build]
# runs-on: ubuntu-latest
# steps:
# - uses: 8398a7/action-slack@v3
# with:
# channel: '#truffle-ci-notifications'
# status: success
# fields: commit,author,pullRequest
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
# if: github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork
CI: true

0 comments on commit 18cc63b

Please sign in to comment.