diff options
author | NARUSE, Yui <naruse@airemix.jp> | 2023-05-12 15:40:10 +0900 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2023-05-12 15:40:10 +0900 |
commit | 223a79e6830ca9c3619258ac00eebffb7754a0a1 (patch) | |
tree | ddcd94f82b3814369dd03eab22f3cc3a945a275b | |
parent | b742fb029d7d24f032c606cb72065b698db1aed6 (diff) | |
download | ruby-223a79e6830ca9c3619258ac00eebffb7754a0a1.tar.gz |
Don't call action-slack if SLACK_WEBHOOK_URL is not set
For a PR, SLACK_WEBHOOK_URL is not set
-rw-r--r-- | .github/workflows/annocheck.yml | 2 | ||||
-rw-r--r-- | .github/workflows/baseruby.yml | 2 | ||||
-rw-r--r-- | .github/workflows/bundled_gems.yml | 2 | ||||
-rw-r--r-- | .github/workflows/check_dependencies.yml | 2 | ||||
-rw-r--r-- | .github/workflows/check_misc.yml | 2 | ||||
-rw-r--r-- | .github/workflows/compilers.yml | 2 | ||||
-rw-r--r-- | .github/workflows/macos.yml | 2 | ||||
-rw-r--r-- | .github/workflows/mingw.yml | 2 | ||||
-rw-r--r-- | .github/workflows/rjit-bindgen.yml | 2 | ||||
-rw-r--r-- | .github/workflows/rjit.yml | 2 | ||||
-rw-r--r-- | .github/workflows/spec_guards.yml | 2 | ||||
-rw-r--r-- | .github/workflows/ubuntu.yml | 2 | ||||
-rw-r--r-- | .github/workflows/wasm.yml | 2 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 2 | ||||
-rw-r--r-- | .github/workflows/yjit-ubuntu.yml | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/.github/workflows/annocheck.yml b/.github/workflows/annocheck.yml index 7c26f9276d..0e531444d9 100644 --- a/.github/workflows/annocheck.yml +++ b/.github/workflows/annocheck.yml @@ -154,7 +154,7 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} defaults: run: diff --git a/.github/workflows/baseruby.yml b/.github/workflows/baseruby.yml index cc8727bc4e..043fa6b238 100644 --- a/.github/workflows/baseruby.yml +++ b/.github/workflows/baseruby.yml @@ -75,4 +75,4 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} diff --git a/.github/workflows/bundled_gems.yml b/.github/workflows/bundled_gems.yml index 3396e562c0..0537d26cff 100644 --- a/.github/workflows/bundled_gems.yml +++ b/.github/workflows/bundled_gems.yml @@ -135,4 +135,4 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} diff --git a/.github/workflows/check_dependencies.yml b/.github/workflows/check_dependencies.yml index cbd88a3e0d..5f429f6307 100644 --- a/.github/workflows/check_dependencies.yml +++ b/.github/workflows/check_dependencies.yml @@ -76,4 +76,4 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index 403fa26d1f..3bb26ac9af 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -109,4 +109,4 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index da04abbbb3..445af66560 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -285,7 +285,7 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} defaults: run: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 4228e0d4d5..192ef6e28c 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -108,7 +108,7 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} defaults: run: diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 8e0a006d3c..fa4c4ec207 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -171,7 +171,7 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} defaults: run: diff --git a/.github/workflows/rjit-bindgen.yml b/.github/workflows/rjit-bindgen.yml index dafbc367f4..47ac3a0f7d 100644 --- a/.github/workflows/rjit-bindgen.yml +++ b/.github/workflows/rjit-bindgen.yml @@ -97,7 +97,7 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} defaults: run: diff --git a/.github/workflows/rjit.yml b/.github/workflows/rjit.yml index dce7b78631..298b47a50e 100644 --- a/.github/workflows/rjit.yml +++ b/.github/workflows/rjit.yml @@ -127,7 +127,7 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} defaults: run: diff --git a/.github/workflows/spec_guards.yml b/.github/workflows/spec_guards.yml index 50072412cf..4457ffa546 100644 --- a/.github/workflows/spec_guards.yml +++ b/.github/workflows/spec_guards.yml @@ -58,4 +58,4 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 3deabea9e9..4b5dd97b4c 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -137,7 +137,7 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} defaults: run: diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index 3a7bd5e8be..2ee6b2937f 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -127,7 +127,7 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} defaults: run: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 311db28744..b1346d6ec3 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -149,7 +149,7 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} defaults: run: diff --git a/.github/workflows/yjit-ubuntu.yml b/.github/workflows/yjit-ubuntu.yml index 710171723a..07b90145c7 100644 --- a/.github/workflows/yjit-ubuntu.yml +++ b/.github/workflows/yjit-ubuntu.yml @@ -170,7 +170,7 @@ jobs: } env: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot - if: ${{ failure() && github.event_name == 'push' }} + if: ${{ failure() && github.event_name == 'push' && secrets.SIMPLER_ALERTS_URL }} defaults: run: |