From 9ebaf7a8ef231632c98a944f1214b902764ae3ab Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 7 Feb 2024 18:18:57 +0900 Subject: [PATCH] Run CodeQL using macos-arm-oss only on ruby/ruby --- .github/workflows/codeql-analysis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 11f0a0f025d599..be4d2e25942cfd 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,7 +39,8 @@ jobs: security-events: write # for github/codeql-action/autobuild to send a status report # CodeQL fails to run pull requests from dependabot due to missing write access to upload results. if: >- - ${{!(false + ${{github.repository == 'ruby/ruby' && + !(false || contains(github.event.head_commit.message, '[DOC]') || contains(github.event.pull_request.title, '[DOC]') || contains(github.event.pull_request.labels.*.name, 'Documentation')