]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cifuzz: run only for relevant PRs
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 8 May 2020 16:46:46 +0000 (18:46 +0200)
committerEvgeny Vereshchagin <evvers@ya.ru>
Fri, 8 May 2020 17:58:11 +0000 (20:58 +0300)
Fuzz only PRs with relevant changes (source code and fuzzer corpora) to
save resources.

.github/workflows/main.yml

index 24715cb9506e7555b3b209d51071db3aa60a2262..0661e493e85d5eaaa69e77b3caef53c3dac83bb9 100644 (file)
@@ -3,7 +3,15 @@
 # See: https://google.github.io/oss-fuzz/getting-started/continuous-integration/
 
 name: CIFuzz
-on: [pull_request]
+on:
+  pull_request:
+    paths:
+      - '**/meson.build'
+      - '.github/workflows/**'
+      - 'meson_options.txt'
+      - 'src/**'
+      - 'test/fuzz/**'
+      - 'tools/oss-fuzz.sh'
 jobs:
  Fuzzing:
    runs-on: ubuntu-latest