From 4ce819fbc6dd336f7266bdcc92dab29c051b8fac Mon Sep 17 00:00:00 2001 From: zdenop Date: Sun, 18 May 2025 13:51:00 +0200 Subject: [PATCH] Update cifuzz.yml restrict running fuzzer for modification of *.c and *.h only. --- .github/workflows/cifuzz.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 95bb8af..5936186 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -1,5 +1,13 @@ name: CIFuzz -on: [pull_request] +# OSS-Fuzz CI +# See https://google.github.io/oss-fuzz/getting-started/continuous-integration/ +on: + pull_request: + branches: + - main + paths: + - '**.c' + - '**.h' jobs: Fuzzing: runs-on: ubuntu-latest @@ -9,6 +17,7 @@ jobs: uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master with: oss-fuzz-project-name: 'leptonica' + language: c dry-run: false - name: Run Fuzzers uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master