diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 33b514ded..e311cbf7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: verbose: true - name: Slack notification when master build fails if: ${{ failure() && github.ref == 'refs/heads/master'}} - uses: rtCamp/action-slack-notify@v2.1.3 + uses: rtCamp/action-slack-notify@v2.2.0 env: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} SLACK_CHANNEL: cerberus-alerts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce0f1a888..12dfccd31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: tag: ${{ github.ref }} - name: Slack notification when release fails if: ${{ failure() }} - uses: rtCamp/action-slack-notify@v2.1.3 + uses: rtCamp/action-slack-notify@v2.2.0 env: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} SLACK_CHANNEL: cerberus-alerts