diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-09-13 21:30:10 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-09-13 21:32:15 +0200 |
commit | 736a1df747ee0b2b20f4afa791dcd68e4704610c (patch) | |
tree | 9950dd85d91e661c9cd4fc3ff06f52c38f887c0c /.github | |
parent | 774cf0d8fdc735f71f835987aaf153a809b53403 (diff) | |
download | systemd-736a1df747ee0b2b20f4afa791dcd68e4704610c.tar.gz |
ci: limit scope for the CodeQL scan
Don't run the workflow unnecessarily for non-{cpp,python} related changes.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 028040d1ab..b531753cab 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 |