Skip to content

Commit

Permalink
Merge pull request #5363 from mozilla/fix-e2e-slack
Browse files Browse the repository at this point in the history
Fix GitHub Action for Slack integration
  • Loading branch information
flozia authored Dec 4, 2024
2 parents cb9a769 + 32c7ef8 commit bde14fe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/e2e_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ jobs:
uses: slackapi/[email protected]
if: failure() && github.ref == 'refs/heads/main'
with:
webhook: ${{ secrets.SLACK_GHA_FAILURES_WEBHOOK }}
webhook-type: webhook-trigger
# For posting a message using Block Kit
payload: |
{
Expand Down Expand Up @@ -124,6 +126,3 @@ jobs:
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GHA_FAILURES_WEBHOOK }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

0 comments on commit bde14fe

Please sign in to comment.