summaryrefslogtreecommitdiff
path: root/.github/workflows/annocheck.yml
diff options
context:
space:
mode:
authorNARUSE, Yui <naruse@airemix.jp>2023-05-12 15:40:10 +0900
committerNARUSE, Yui <naruse@airemix.jp>2023-05-12 15:40:10 +0900
commit223a79e6830ca9c3619258ac00eebffb7754a0a1 (patch)
treeddcd94f82b3814369dd03eab22f3cc3a945a275b /.github/workflows/annocheck.yml
parentb742fb029d7d24f032c606cb72065b698db1aed6 (diff)
downloadruby-223a79e6830ca9c3619258ac00eebffb7754a0a1.tar.gz
Don't call action-slack if SLACK_WEBHOOK_URL is not set
For a PR, SLACK_WEBHOOK_URL is not set
Diffstat (limited to '.github/workflows/annocheck.yml')
-rw-r--r--.github/workflows/annocheck.yml2
1 files changed, 1 insertions, 1 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: