How do I send a slack notification when my github actions workfo fails #195763
-
🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaARC (Actions Runner Controller) Discussion DetailsI want to get notification on slack whenever my work flow fails how do I set that up |
Beta Was this translation helpful? Give feedback.
Answered by
May-00048
May 14, 2026
Replies: 1 comment
-
|
add this at the end of your workflow yaml:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sedsdrrt-eng
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add this at the end of your workflow yaml:
if: failure()
uses: 8398a7/action-slack@v3
with:
status: failure
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}