From 9732cfa6b87ea3b9ae3729b7de3ce636f01670d3 Mon Sep 17 00:00:00 2001 From: Catena cyber <35799796+catenacyber@users.noreply.github.com> Date: Thu, 5 Nov 2020 15:35:21 +0100 Subject: [PATCH] Runs CIFuzz only when go files are modified (#1192) and run it for 5 minutes instead of 10 --- .github/workflows/cifuzz.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 3e1487c4..2188e408 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -1,5 +1,10 @@ name: CIFuzz -on: [pull_request] +on: + pull_request: + branches: + - master + paths: + - '**.go' jobs: Fuzzing: runs-on: ubuntu-latest @@ -13,7 +18,7 @@ jobs: uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master with: oss-fuzz-project-name: 'go-dns' - fuzz-seconds: 600 + fuzz-seconds: 300 dry-run: false - name: Upload Crash uses: actions/upload-artifact@v1