summaryrefslogtreecommitdiff
path: root/.github/workflows/codeql-analysis.yml
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-19 11:05:31 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-19 11:05:31 +0900
commit504728307069d49994541c91769bc90444a4fce5 (patch)
tree65c9a379b54b1c7a9c62a8edacba403b4c1a3470 /.github/workflows/codeql-analysis.yml
parent95a25e0441dd402afde577303b1a1e545e85a831 (diff)
Skip CIs if the head commit message contains '[DOC]'
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r--.github/workflows/codeql-analysis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 09d9135fa0..299c6b220a 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -23,7 +23,7 @@ jobs:
# CodeQL runs on ubuntu-latest and windows-latest
runs-on: ubuntu-latest
- if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
+ if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
env:
enable_install_doc: no