Skip to content

Commit

Permalink
add notification for failed github action
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Jun 17, 2024
1 parent 10835d1 commit 9a28c80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ jobs:
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm test
- uses: sarisia/actions-status-discord@v1
if: ${{ failure() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}

0 comments on commit 9a28c80

Please sign in to comment.