Slack notification cannot send from other than ruby/* [ci skip]
This commit is contained in:
parent
7c98d520f4
commit
a49d17a080
1
.github/actions/slack/action.yml
vendored
1
.github/actions/slack/action.yml
vendored
@ -36,3 +36,4 @@ runs:
|
||||
}
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ inputs.SLACK_WEBHOOK_URL }}
|
||||
if: ${{github.event_name == 'push' && startsWith(github.repository, 'ruby/')}}
|
||||
|
2
.github/workflows/annocheck.yml
vendored
2
.github/workflows/annocheck.yml
vendored
@ -116,7 +116,7 @@ jobs:
|
||||
- uses: ./.github/actions/slack
|
||||
with:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
2
.github/workflows/baseruby.yml
vendored
2
.github/workflows/baseruby.yml
vendored
@ -78,4 +78,4 @@ jobs:
|
||||
with:
|
||||
label: ${{ matrix.ruby }}
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
2
.github/workflows/bundled_gems.yml
vendored
2
.github/workflows/bundled_gems.yml
vendored
@ -116,4 +116,4 @@ jobs:
|
||||
- uses: ./.github/actions/slack
|
||||
with:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
2
.github/workflows/check_dependencies.yml
vendored
2
.github/workflows/check_dependencies.yml
vendored
@ -70,4 +70,4 @@ jobs:
|
||||
with:
|
||||
label: ${{ matrix.os }} / Dependencies need to update
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
2
.github/workflows/check_misc.yml
vendored
2
.github/workflows/check_misc.yml
vendored
@ -103,4 +103,4 @@ jobs:
|
||||
- uses: ./.github/actions/slack
|
||||
with:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
2
.github/workflows/compilers.yml
vendored
2
.github/workflows/compilers.yml
vendored
@ -286,7 +286,7 @@ jobs:
|
||||
with:
|
||||
label: ${{ matrix.entry.name }}
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@ -103,7 +103,7 @@ jobs:
|
||||
with:
|
||||
label: ${{ matrix.test_task }}
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
2
.github/workflows/mingw.yml
vendored
2
.github/workflows/mingw.yml
vendored
@ -153,7 +153,7 @@ jobs:
|
||||
with:
|
||||
label: ${{ matrix.msystem }} / ${{ matrix.test_task }}
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
2
.github/workflows/rjit-bindgen.yml
vendored
2
.github/workflows/rjit-bindgen.yml
vendored
@ -81,7 +81,7 @@ jobs:
|
||||
- uses: ./.github/actions/slack
|
||||
with:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
2
.github/workflows/rjit.yml
vendored
2
.github/workflows/rjit.yml
vendored
@ -110,7 +110,7 @@ jobs:
|
||||
with:
|
||||
label: ${{ matrix.run_opts }}
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
2
.github/workflows/spec_guards.yml
vendored
2
.github/workflows/spec_guards.yml
vendored
@ -63,4 +63,4 @@ jobs:
|
||||
with:
|
||||
label: ${{ matrix.ruby }}
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
@ -123,7 +123,7 @@ jobs:
|
||||
with:
|
||||
label: ${{ matrix.test_task }} ${{ matrix.configure }}${{ matrix.arch }}
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
2
.github/workflows/wasm.yml
vendored
2
.github/workflows/wasm.yml
vendored
@ -132,7 +132,7 @@ jobs:
|
||||
with:
|
||||
label: ${{ matrix.entry.name }}
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
@ -182,7 +182,7 @@ jobs:
|
||||
with:
|
||||
label: VS${{ matrix.vs }} / ${{ matrix.test_task || 'check' }}
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
2
.github/workflows/yjit-ubuntu.yml
vendored
2
.github/workflows/yjit-ubuntu.yml
vendored
@ -179,7 +179,7 @@ jobs:
|
||||
with:
|
||||
label: ${{ matrix.test_task }} ${{ matrix.configure }}
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
if: ${{ failure() && github.event_name == 'push' }}
|
||||
if: ${{ failure() }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
Loading…
x
Reference in New Issue
Block a user