Runs CIFuzz only when go files are modified (#1192)

and run it for 5 minutes instead of 10
This commit is contained in:
Catena cyber 2020-11-05 15:35:21 +01:00 committed by GitHub
parent 1ba9487b18
commit 9732cfa6b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -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