Skip to content

Commit

Permalink
Add discord to CodeQL workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Jun 20, 2021
1 parent e3e8682 commit 1fbc072
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ jobs:

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

- name: Discord notification
if: ${{ github.event_name == 'schedule' && failure() }}
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_ACTION_FAILURE }}
uses: Ilshidur/action-discord@0.3.0
with:
args: "[Scheduled action failed!](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})"

0 comments on commit 1fbc072

Please sign in to comment.