diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-10-06 11:58:50 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-10-06 11:58:50 -0700 |
commit | 43650f606e221f0c8029c0795458e39c740b2c30 (patch) | |
tree | 1cde245a4d137c5dd76141ff5ba5ed2d01f8223e | |
parent | 1f2c84de83cef26e7e0bb6537992d3ad922533a8 (diff) | |
download | ruby-43650f606e221f0c8029c0795458e39c740b2c30.tar.gz |
Notify CI failures of Miscellaneous checks
-rw-r--r-- | .github/workflows/check_misc.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index 32a07f7fd6..71ac956695 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -97,3 +97,17 @@ jobs: GIT_AUTHOR_NAME: git GIT_COMMITTER_NAME: git if: ${{ github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull') && steps.diff.outcome == 'failure' }} + + - uses: k0kubun/action-slack@v2.0.0 + with: + payload: | + { + "ci": "GitHub Actions", + "env": "${{ github.workflow }}", + "url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}", + "commit": "${{ github.sha }}", + "branch": "${{ github.ref }}".split('/').reverse()[0] + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot + if: ${{ failure() && github.event_name == 'push' }} |