Skip to content

Commit

Permalink
Fixed notify workflow when SLACK_HOOK is not set
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed Jun 30, 2021
1 parent 4a2d1c0 commit 4045f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/notify.yml
Expand Up @@ -20,7 +20,7 @@ jobs:

notify:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.event == 'schedule' }}
if: ${{ github.event.workflow_run.event == 'schedule' && secrets.SLACK_HOOK }}
steps:

- name: Post status to Slack
Expand Down

0 comments on commit 4045f7b

Please sign in to comment.