Skip to content

Commit

Permalink
💬 Fix Slack notification workflow (#6560)
Browse files Browse the repository at this point in the history
* 🔧 Update Slack Action parameter

* 🔧 Update as per Release docs

* 🔧 Remove blank line

* Use 'webhook' in with
  • Loading branch information
Gary-H9 authored Jan 15, 2025
1 parent 089d011 commit d63ddbd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/reusable-workflow-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,10 @@ jobs:
id: slack_notification
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
with:
webhook: ${{ env.SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook
payload: |
{
"run_id": "${{ github.run_id }}",
"pr_number": "${{ steps.extract_pr.outputs.pr_number }}"
}
env:
SLACK_WEBHOOK_URL: ${{ env.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

0 comments on commit d63ddbd

Please sign in to comment.