Skip to content

Commit 0ef2c5b

Browse files
Fuzzing: Upload SARIF file to GitHub Security tab
1 parent 450321c commit 0ef2c5b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/cflite_batch.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ permissions: read-all
1313
jobs:
1414
BatchFuzzing:
1515
runs-on: ubuntu-latest
16+
permissions:
17+
security-events: write
1618
strategy:
1719
fail-fast: false
1820
matrix:
@@ -37,3 +39,9 @@ jobs:
3739
storage-repo: https://${{ secrets.SWIFTWASM_BOT_GITHUB_TOKEN }}@github.com/swiftwasm/wasmkit-fuzz-corpora.git
3840
storage-repo-branch: main
3941
storage-repo-branch-coverage: gh-pages
42+
- name: Upload Sarif
43+
if: always() && steps.build.outcome == 'success'
44+
uses: github/codeql-action/upload-sarif@v2
45+
with:
46+
sarif_file: cifuzz-sarif/results.sarif
47+
checkout_path: cifuzz-sarif

0 commit comments

Comments
 (0)