| 1 |
name: CIFuzz |
| 2 |
on: |
| 3 |
push: |
| 4 |
branches: |
| 5 |
- main |
| 6 |
|
| 7 |
permissions: {} |
| 8 |
|
| 9 |
jobs: |
| 10 |
Fuzzing: |
| 11 |
runs-on: ubuntu-latest |
| 12 |
|
| 13 |
permissions: |
| 14 |
contents: read |
| 15 |
|
| 16 |
steps: |
| 17 |
- name: Build Fuzzers |
| 18 |
id: build |
| 19 |
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master |
| 20 |
with: |
| 21 |
oss-fuzz-project-name: "sigstore" |
| 22 |
dry-run: false |
| 23 |
- name: Run Fuzzers |
| 24 |
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master |
| 25 |
with: |
| 26 |
oss-fuzz-project-name: "sigstore" |
| 27 |
fuzz-seconds: 600 |
| 28 |
dry-run: false |
| 29 |
- name: Upload Crash |
| 30 |
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
| 31 |
if: failure() && steps.build.outcome == 'success' |
| 32 |
with: |
| 33 |
name: artifacts |
| 34 |
path: ./out/artifacts |