From 63a530e9a1234c5f1e33c5a591852ffb5d1bea50 Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Thu, 16 Jan 2025 13:00:24 +0100 Subject: [PATCH] chore(deps): update pinned versions of GitHub Actions (#348) Co-authored-by: Mutahhir Hayat --- .github/workflows/deploy-cdktf-stacks.yml | 6 +++--- .github/workflows/upgrade-repositories.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-cdktf-stacks.yml b/.github/workflows/deploy-cdktf-stacks.yml index df9bef6..cf8eec1 100644 --- a/.github/workflows/deploy-cdktf-stacks.yml +++ b/.github/workflows/deploy-cdktf-stacks.yml @@ -47,15 +47,15 @@ jobs: - name: Send failures to Slack if: ${{ failure() && !cancelled() }} - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 with: + webhook: ${{ secrets.FAILURE_SLACK_WEBHOOK_URL }} + webhook-type: webhook-trigger payload: | { "provider_name": "stack deploy ${{ matrix.stack }}", "run_url": "https://github.com/cdktf/cdktf-repository-manager/actions/runs/${{ github.run_id }}" } - env: - SLACK_WEBHOOK_URL: ${{ secrets.FAILURE_SLACK_WEBHOOK_URL }} upgrade: if: inputs.upgrade-repositories diff --git a/.github/workflows/upgrade-repositories.yml b/.github/workflows/upgrade-repositories.yml index a48bc38..4257a4a 100644 --- a/.github/workflows/upgrade-repositories.yml +++ b/.github/workflows/upgrade-repositories.yml @@ -116,12 +116,12 @@ jobs: - name: Send failures to Slack if: ${{ failure() && !cancelled() }} - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 with: + webhook: ${{ secrets.FAILURE_SLACK_WEBHOOK_URL }} + webhook-type: webhook-trigger payload: | { "provider_name": "${{ matrix.provider }}", "run_url": "https://github.com/cdktf/cdktf-repository-manager/actions/runs/${{ github.run_id }}" } - env: - SLACK_WEBHOOK_URL: ${{ secrets.FAILURE_SLACK_WEBHOOK_URL }}