From bc22ee7897b9d482bbe7e5322ef771462a2bd6ec Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Fri, 31 Jan 2025 10:29:50 +0100 Subject: [PATCH] build: fix `slack-github-action` for backports (#45388) build: fix slack-github-action for backports --- .github/workflows/pull-request-labeled.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request-labeled.yml b/.github/workflows/pull-request-labeled.yml index f17524034ef6..ae1e6f6896a8 100644 --- a/.github/workflows/pull-request-labeled.yml +++ b/.github/workflows/pull-request-labeled.yml @@ -15,12 +15,12 @@ jobs: - name: Trigger Slack workflow uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 with: + webhook: ${{ secrets.BACKPORT_REQUESTED_SLACK_WEBHOOK_URL }} + webhook-type: webhook-trigger payload: | { "url": "${{ github.event.pull_request.html_url }}" } - env: - SLACK_WEBHOOK_URL: ${{ secrets.BACKPORT_REQUESTED_SLACK_WEBHOOK_URL }} pull-request-labeled-deprecation-review-complete: name: deprecation-review/complete label added if: github.event.label.name == 'deprecation-review/complete ✅'