Skip to content

Commit

Permalink
Few fixes to infra/cifuzz/example_cifuzz.yml. (#11481)
Browse files Browse the repository at this point in the history
When tried to enable CI fuzzing for md4c project as described at
https://google.github.io/oss-fuzz/getting-started/continuous-integration/,
encountered some issues:

- Broken indentation.
- The step "Upload Sarif" fails (and I'm not the 1st one to encounter
it: See #10915)

These changes seem to fix it for me.
  • Loading branch information
mity authored Jan 30, 2024
1 parent 3e24194 commit d92d425
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions infra/cifuzz/example_cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ jobs:
with:
oss-fuzz-project-name: 'example'
fuzz-seconds: 600
output-sarif: true
- name: Upload Crash
uses: actions/upload-artifact@v3
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts
- name: Upload Sarif
if: always() && steps.build.outcome == 'success'
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: cifuzz-sarif/results.sarif
checkout_path: cifuzz-sarif
- name: Upload Sarif
if: always() && steps.build.outcome == 'success'
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: cifuzz-sarif/results.sarif
checkout_path: cifuzz-sarif

0 comments on commit d92d425

Please sign in to comment.