From 6e7bb28f9796551c9a4062883194fe3671ac144a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Nov 2024 18:09:25 +0100 Subject: [PATCH] chore: Bump slackapi/slack-github-action from 1.27.0 to 2.0.0 (#2810) * chore: Bump slackapi/slack-github-action from 1.27.0 to 2.0.0 Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.27.0 to 2.0.0. - [Release notes](https://github.com/slackapi/slack-github-action/releases) - [Commits](https://github.com/slackapi/slack-github-action/compare/37ebaef184d7626c5f204ab8d3baff4262dd30f0...485a9d42d3a73031f12ec201c457e2162c45d02d) --- updated-dependencies: - dependency-name: slackapi/slack-github-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore: Adjusting how webhook-type is provided in new slack-github-action 2.0 version --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Agustin Bettati --- .github/workflows/generate-changelog.yml | 7 +++---- .github/workflows/notify-docs-team.yml | 7 +++---- .github/workflows/terraform-compatibility-matrix.yml | 7 +++---- .github/workflows/test-suite.yml | 7 +++---- 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/generate-changelog.yml b/.github/workflows/generate-changelog.yml index 37c6ce991c..84ae7623f4 100644 --- a/.github/workflows/generate-changelog.yml +++ b/.github/workflows/generate-changelog.yml @@ -28,8 +28,10 @@ jobs: steps: - name: Send Slack message id: slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d with: + webhook: ${{ secrets.SLACK_WEBHOOK_URL }} + webhook-type: incoming-webhook payload: | { "text": "Automatic Changelog update failed", @@ -43,6 +45,3 @@ jobs: } ] } - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK \ No newline at end of file diff --git a/.github/workflows/notify-docs-team.yml b/.github/workflows/notify-docs-team.yml index 52c474a581..4a23f6e789 100644 --- a/.github/workflows/notify-docs-team.yml +++ b/.github/workflows/notify-docs-team.yml @@ -29,11 +29,10 @@ jobs: permissions: pull-requests: write # Needed by sticky-pull-request-comment steps: - - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_DOCS }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK + - uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d with: + webhook: ${{ secrets.SLACK_WEBHOOK_URL_DOCS }} + webhook-type: incoming-webhook payload: | { "blocks": [ diff --git a/.github/workflows/terraform-compatibility-matrix.yml b/.github/workflows/terraform-compatibility-matrix.yml index 5eb6c2d7cc..b4067f7bbc 100644 --- a/.github/workflows/terraform-compatibility-matrix.yml +++ b/.github/workflows/terraform-compatibility-matrix.yml @@ -64,11 +64,10 @@ jobs: echo "slack_payload=${slack_message}" >> "${GITHUB_OUTPUT}" - name: Send Slack message id: slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d with: + webhook: ${{ secrets.SLACK_WEBHOOK_URL }} + webhook-type: incoming-webhook payload: ${{ steps.slack-payload.outputs.slack_payload }} - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 64e775da02..27e1be2e21 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -91,8 +91,10 @@ jobs: steps: - name: Send Slack message id: slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d with: + webhook: ${{ secrets.SLACK_WEBHOOK_URL }} + webhook-type: incoming-webhook payload: | { "text": ":red_circle: Test Suite failed (reminder to log failures)", @@ -119,6 +121,3 @@ jobs: } ] } - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK