diff --git a/.github/workflows/docker-scan.yml b/.github/workflows/docker-scan.yml index cf1e661..2aba940 100644 --- a/.github/workflows/docker-scan.yml +++ b/.github/workflows/docker-scan.yml @@ -134,7 +134,7 @@ jobs: # Taken from https://github.com/entur/gha-slack/blob/main/.github/workflows/post.yml - name: "Send slack notification" if: ${{ steps.scanner-action.outputs.notification_slack_enabled == 'True' && steps.scanner-action.outputs.notification_severity_alert_found == 'True' }} - uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1.27.2.1.1 + uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1.27.3.0.1 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} NOTIFICATION_SLACK_POST_BLOCKS: ${{ steps.scanner-action.outputs.notification_slack_block }}