summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-03-02 19:02:40 -0500
committerJulian Berman <Julian@GrayVines.com>2021-03-02 19:02:43 -0500
commitf6f3441aa0438cab01fd56ddac3349d4f8aeb9f7 (patch)
treed3e1e2788ac67dc7b7cf6fe6d5adf316e9024e0d
parenta5d05feb38469a058042c137ea339a3de705259c (diff)
downloadjsonschema-f6f3441aa0438cab01fd56ddac3349d4f8aeb9f7.tar.gz
Add language, remove dry-run: false which is the default.
Run only against main for now, save some time on PRs.
-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'