mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Notify CI failures of Miscellaneous checks
This commit is contained in:
parent
1f2c84de83
commit
43650f606e
1 changed files with 14 additions and 0 deletions
14
.github/workflows/check_misc.yml
vendored
14
.github/workflows/check_misc.yml
vendored
|
@ -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' }}
|
||||
|
|
Loading…
Reference in a new issue