]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: limit scope for the CodeQL scan 24663/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 13 Sep 2022 19:30:10 +0000 (21:30 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 13 Sep 2022 19:32:15 +0000 (21:32 +0200)
Don't run the workflow unnecessarily for non-{cpp,python} related changes.

.github/workflows/codeql-analysis.yml

index 028040d1abeb621531aa8d1062aef48b0134bbc7..b531753cabad1a28f9abe391db57d7ff44257147 100644 (file)
@@ -9,6 +9,12 @@ on:
     branches:
       - main
       - v[0-9]+-stable
+    paths:
+      - '**/meson.build'
+      - '.github/**/codeql*'
+      - 'src/**'
+      - 'test/**'
+      - 'tools/**'
   push:
     branches:
       - main