summaryrefslogtreecommitdiff
path: root/.github/workflows/fuzz.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/fuzz.yml')
-rw-r--r--.github/workflows/fuzz.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml
index c60a071..c2f69b9 100644
--- a/.github/workflows/fuzz.yml
+++ b/.github/workflows/fuzz.yml
@@ -1,5 +1,10 @@
name: CIFuzz
-on: [pull_request]
+
+on:
+ pull_request:
+ branches:
+ - main
+
jobs:
Fuzzing:
runs-on: ubuntu-latest
@@ -9,7 +14,8 @@ jobs:
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'jsonschema'
- dry-run: false
+ language: python
+ # Needed until google/oss-fuzz#4996 is merged
continue-on-error: true
- name: Run Fuzzers
if: steps.build.outcome == 'success'
@@ -17,7 +23,6 @@ jobs:
with:
oss-fuzz-project-name: 'jsonschema'
fuzz-seconds: 30
- dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@v1
if: failure() && steps.build.outcome == 'success'