From a31f71032c8d42d2385f998bf030b584cc726cf0 Mon Sep 17 00:00:00 2001 From: PavelSBorisov Date: Mon, 25 Nov 2024 16:29:46 +0200 Subject: [PATCH] build(deps): bump slackapi/slack-github-action from 1.25.0 to 2.0.0 Signed-off-by: PavelSBorisov --- .github/workflows/node-zxc-build-release-artifact.yaml | 3 ++- .github/workflows/node-zxcron-release-branching.yaml | 3 ++- .github/workflows/zxcron-extended-test-suite.yaml | 3 ++- .github/workflows/zxcron-promote-build-candidate.yaml | 3 ++- .github/workflows/zxf-prepare-extended-test-suite.yaml | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/node-zxc-build-release-artifact.yaml b/.github/workflows/node-zxc-build-release-artifact.yaml index 340e8edc46af..6ebcd7173cf4 100644 --- a/.github/workflows/node-zxc-build-release-artifact.yaml +++ b/.github/workflows/node-zxc-build-release-artifact.yaml @@ -888,11 +888,12 @@ jobs: echo "artifact-registry=${ARTIFACT_REGISTRY}" >>"${GITHUB_OUTPUT}" - name: Send Slack Notification (Maven Central) - uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 env: SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK SLACK_WEBHOOK_URL: ${{ secrets.slack-webhook-url }} with: + payload-templated: true payload: | { "attachments": [ diff --git a/.github/workflows/node-zxcron-release-branching.yaml b/.github/workflows/node-zxcron-release-branching.yaml index 1b61cc79f030..330af645f4ab 100644 --- a/.github/workflows/node-zxcron-release-branching.yaml +++ b/.github/workflows/node-zxcron-release-branching.yaml @@ -140,11 +140,12 @@ jobs: run: echo "short-id=$(echo -n "${{ github.sha }}" | tr -d '[:space:]' | cut -c1-8)" >> "${GITHUB_OUTPUT}" - name: Send Slack Notification - uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 env: SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASE_WEBHOOK }} with: + payload-templated: true payload: | { "attachments": [ diff --git a/.github/workflows/zxcron-extended-test-suite.yaml b/.github/workflows/zxcron-extended-test-suite.yaml index 960c88ee32cb..0d1a5bb5377a 100644 --- a/.github/workflows/zxcron-extended-test-suite.yaml +++ b/.github/workflows/zxcron-extended-test-suite.yaml @@ -285,11 +285,12 @@ jobs: path: run.log - name: Report failure (slack) - uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 env: SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CITR_WEBHOOK }} with: + payload-templated: true payload: | { "attachments": [ diff --git a/.github/workflows/zxcron-promote-build-candidate.yaml b/.github/workflows/zxcron-promote-build-candidate.yaml index 75534890691e..69685897af40 100644 --- a/.github/workflows/zxcron-promote-build-candidate.yaml +++ b/.github/workflows/zxcron-promote-build-candidate.yaml @@ -159,11 +159,12 @@ jobs: egress-policy: audit - name: Report failure (slack) - uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 env: SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CITR_WEBHOOK }} with: + payload-templated: true payload: | { "attachments": [ diff --git a/.github/workflows/zxf-prepare-extended-test-suite.yaml b/.github/workflows/zxf-prepare-extended-test-suite.yaml index 732bbe154693..c3bf16007e61 100644 --- a/.github/workflows/zxf-prepare-extended-test-suite.yaml +++ b/.github/workflows/zxf-prepare-extended-test-suite.yaml @@ -128,11 +128,12 @@ jobs: - name: Report failure if: ${{ !cancelled() && failure() && always() }} - uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 env: SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CITR_WEBHOOK }} with: + payload-templated: true payload: | { "attachments": [