From: Frantisek Sumsal Date: Tue, 13 Sep 2022 19:30:10 +0000 (+0200) Subject: ci: limit scope for the CodeQL scan X-Git-Tag: v252-rc1~195^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F24663%2Fhead;p=thirdparty%2Fsystemd.git ci: limit scope for the CodeQL scan Don't run the workflow unnecessarily for non-{cpp,python} related changes. --- diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 028040d1abe..b531753caba 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,6 +9,12 @@ on: branches: - main - v[0-9]+-stable + paths: + - '**/meson.build' + - '.github/**/codeql*' + - 'src/**' + - 'test/**' + - 'tools/**' push: branches: - main