Skip to content

Commit

Permalink
Move webhook and type from ENV variable (#4076)
Browse files Browse the repository at this point in the history
  • Loading branch information
clouvet authored Nov 23, 2024
1 parent fbcff8f commit 09e201b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/preflight_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ jobs:
- name: Post failure to slack
if: ${{ github.ref == 'refs/heads/master' && failure() }}
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d
env:
SLACK_WEBHOOK_URL: ${{ secrets.PREFLIGHT_SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: incoming-webhook
with:
webhook: ${{ secrets.PREFLIGHT_SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook
payload: |
{
"blocks": [
Expand Down

0 comments on commit 09e201b

Please sign in to comment.