Problem: fuzzing Github action ran on pushes on forks and fails

Solution: run in on PRs only as oss-fuzz uses Docker so the repository is
hard-coded
This commit is contained in:
Luca Boccassi 2020-05-06 12:39:23 +01:00
parent 346f8b8b20
commit fd3e5daaeb
2 changed files with 13 additions and 9 deletions

View File

@ -89,12 +89,3 @@ jobs:
shell: cmd
working-directory: build_libzmq
run: ctest -C "%Configuration%"
Fuzzing:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
id: build
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'libzmq'
dry-run: false

13
.github/workflows/Fuzzers.yaml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Fuzzers
on: [pull_request]
jobs:
Fuzzing:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
id: build
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'libzmq'
dry-run: false