Notify slack workflow #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Notify slack workflow | |
on: | |
workflow_run: | |
workflows: | |
- Run tests workflow | |
- Build release workflow | |
types: | |
- completed | |
jobs: | |
notify_slack: | |
runs-on: ubuntu-18.04 | |
name: Notify slack | |
steps: | |
- name: Notify slack | |
uses: zebra-lucky/[email protected] | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
with: | |
gh_ctx: ${{ toJson(github) }} | |
token: ${{ secrets.GITHUB_TOKEN }} |