Skip to content

Commit

Permalink
ci: fix condition for slack notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed Feb 2, 2024
1 parent 5ae15ca commit 350a487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Notify slack on failure
# https://github.com/marketplace/actions/slack-notify-build
uses: voxmedia/github-action-slack-notify-build@v1
if: ${{ inputs.notify-failure && failure() }}
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Notify slack on failure
# https://github.com/marketplace/actions/slack-notify-build
uses: voxmedia/github-action-slack-notify-build@v1
if: ${{ inputs.notify-failure && failure() }}
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
with:
Expand Down

0 comments on commit 350a487

Please sign in to comment.