From 2e5098e6dcd8d0d9ca8135862c0ea5676fe923e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 09:53:45 +0000 Subject: [PATCH] Bump slackapi/slack-github-action from 1.27.0 to 2.0.0 (#272) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrew Pepler --- .github/workflows/deploy.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bc365a1..c34bd60 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -116,8 +116,10 @@ jobs: metrics="${{ vars.ECR_URL }}:$SHA" - name: Send deploy notification to product Slack channel - uses: slackapi/slack-github-action@v1.27.0 + uses: slackapi/slack-github-action@v2.0.0 with: + webhook: ${{ secrets.SLACK_WEBHOOK_URL }} + webhook-type: incoming-webhook payload: | { "attachments": [ @@ -141,9 +143,6 @@ jobs: } ] } - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK deploy-production: runs-on: ubuntu-latest @@ -206,8 +205,10 @@ jobs: metrics="${{ vars.ECR_URL }}:$SHA" - name: Send deploy notification to product Slack channel - uses: slackapi/slack-github-action@v1.27.0 + uses: slackapi/slack-github-action@v2.0.0 with: + webhook: ${{ secrets.SLACK_WEBHOOK_URL }} + webhook-type: incoming-webhook payload: | { "attachments": [ @@ -231,13 +232,12 @@ jobs: } ] } - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK - name: Send deploy notification to product Slack channel - uses: slackapi/slack-github-action@v1.27.0 + uses: slackapi/slack-github-action@v2.0.0 with: + webhook: ${{ secrets.PROD_SLACK_WEBHOOK_URL }} + webhook-type: incoming-webhook payload: | { "attachments": [ @@ -261,6 +261,3 @@ jobs: } ] } - env: - SLACK_WEBHOOK_URL: ${{ secrets.PROD_SLACK_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK