From 350a487f72e9811864369fe8457f5b36d72a709b Mon Sep 17 00:00:00 2001 From: Simon Templer Date: Fri, 2 Feb 2024 14:10:22 +0100 Subject: [PATCH] ci: fix condition for slack notifications --- .github/workflows/publish-resources.yml | 2 +- .github/workflows/update-resources.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-resources.yml b/.github/workflows/publish-resources.yml index 4c178344..8383fa77 100644 --- a/.github/workflows/publish-resources.yml +++ b/.github/workflows/publish-resources.yml @@ -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: diff --git a/.github/workflows/update-resources.yml b/.github/workflows/update-resources.yml index ed35b847..a507e32d 100644 --- a/.github/workflows/update-resources.yml +++ b/.github/workflows/update-resources.yml @@ -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: