Skip to content

Commit

Permalink
ci: slack webhook - only notify on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Salakar committed Dec 14, 2020
1 parent 807f29c commit 33d27f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,action,eventName,workflow,job,took
fields: repo,action,eventName,workflow
env:
SLACK_WEBHOOK_URL: ${{ secrets.INVERTASEBOT_SLACK_GITHUB_CHANNEL_WEBHOOK_URL }}
if: success()
if: failure()

0 comments on commit 33d27f3

Please sign in to comment.