From fd3e5daaeb3207c1799ef77dc48e88ec69e28e19 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 6 May 2020 12:39:23 +0100 Subject: [PATCH] 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 --- .github/workflows/CI.yaml | 9 --------- .github/workflows/Fuzzers.yaml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/Fuzzers.yaml diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index b33e4250..ff1d7503 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -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 diff --git a/.github/workflows/Fuzzers.yaml b/.github/workflows/Fuzzers.yaml new file mode 100644 index 00000000..8ef88070 --- /dev/null +++ b/.github/workflows/Fuzzers.yaml @@ -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