Skip to content

db82407/notify-slack-last-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

notify-slack-last-status

The Slack GitHub app cannot subscribe only to failed workflows.

This action notifies Slack whenever a workflow fails and also the first time it succeeds after a failure.

It uses Mercymeilya/last-workflow-status and ravsamhq/notify-slack-action

Usage

Add this as the last step in any job for which you want notification of failure:

      - name: Notify Slack
        if: always()
        uses: db82407/notify-slack-last-status@main
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}

About

Notify Slack based on last workflow status

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published