From 534fab1c373a255cdfa7f16a0db8b25b937b34ea Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 2 Dec 2025 13:27:10 +0000 Subject: [PATCH 1/2] chore: update slackapi/slack-github-action action to v2 --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 52e95fa7..a89a445c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -80,7 +80,7 @@ jobs: shell: bash - name: Notify Slack Success - uses: slackapi/slack-github-action@v1.27.1 + uses: slackapi/slack-github-action@v2.1.1 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} with: @@ -88,7 +88,7 @@ jobs: slack-message: ':white_check_mark: Deployment to *dev* succeeded' - name: Notify Slack Failure - uses: slackapi/slack-github-action@v1.27.1 + uses: slackapi/slack-github-action@v2.1.1 if: ${{ failure() }} env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} @@ -141,7 +141,7 @@ jobs: shell: bash - name: Notify Slack Success - uses: slackapi/slack-github-action@v1.27.1 + uses: slackapi/slack-github-action@v2.1.1 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} with: @@ -149,7 +149,7 @@ jobs: slack-message: ':white_check_mark: Deployment to *prod* succeeded' - name: Notify Slack Failure - uses: slackapi/slack-github-action@v1.27.1 + uses: slackapi/slack-github-action@v2.1.1 if: ${{ failure() }} env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} From cdd3d010fb14ceafe65bd905e356cab2b166aab9 Mon Sep 17 00:00:00 2001 From: Kyle Hoehns <9507268+kylehoehns@users.noreply.github.com> Date: Tue, 2 Dec 2025 07:40:05 -0600 Subject: [PATCH 2/2] code changes needed to upgrade to slack github action v2 --- .github/workflows/deploy.yml | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a89a445c..286a0e5f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -81,20 +81,22 @@ jobs: - name: Notify Slack Success uses: slackapi/slack-github-action@v2.1.1 - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} with: - channel-id: 'coding-exercise-queue' - slack-message: ':white_check_mark: Deployment to *dev* succeeded' + method: chat.postMessage + token: ${{ secrets.SLACK_BOT_TOKEN }} + payload: | + channel: coding-exercise-queue + text: ":white_check_mark: Deployment to *dev* succeeded" - name: Notify Slack Failure uses: slackapi/slack-github-action@v2.1.1 if: ${{ failure() }} - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} with: - channel-id: 'coding-exercise-queue' - slack-message: ':x: Deployment to *dev* failed' + method: chat.postMessage + token: ${{ secrets.SLACK_BOT_TOKEN }} + payload: | + channel: coding-exercise-queue + text: ":x: Deployment to *dev* failed" deploy-prod: name: Deploy Prod @@ -142,17 +144,19 @@ jobs: - name: Notify Slack Success uses: slackapi/slack-github-action@v2.1.1 - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} with: - channel-id: 'coding-exercise-queue' - slack-message: ':white_check_mark: Deployment to *prod* succeeded' + method: chat.postMessage + token: ${{ secrets.SLACK_BOT_TOKEN }} + payload: | + channel: coding-exercise-queue + text: ":white_check_mark: Deployment to *prod* succeeded" - name: Notify Slack Failure uses: slackapi/slack-github-action@v2.1.1 if: ${{ failure() }} - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} with: - channel-id: 'coding-exercise-queue' - slack-message: ':x: Deployment to *prod* failed' + method: chat.postMessage + token: ${{ secrets.SLACK_BOT_TOKEN }} + payload: | + channel: coding-exercise-queue + text: ":x: Deployment to *prod* failed"