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: