summaryrefslogtreecommitdiff
path: root/.github/workflows/codeql-analysis.yml
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-25 00:38:37 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-16 17:50:20 +0900
commit5bf0060e0a506d8b7a85e0f63898cb1cc8d4dcba (patch)
treeb056a8aa2f4bae1550a025283dd17525b3589eee /.github/workflows/codeql-analysis.yml
parent32ee6f80ee1737699ead57bf577f0b1b90c2523e (diff)
[DOC] Skip tests if only documents change [ci skip]
Run only checks for source code. Currently, our CIs do almost nothing about the documents.
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r--.github/workflows/codeql-analysis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index d22da8e481..486f4a3b5a 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -23,6 +23,7 @@ jobs:
# CodeQL runs on ubuntu-latest and windows-latest
runs-on: ubuntu-latest
+ if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
env:
enable_install_doc: no