File tree Expand file tree Collapse file tree 1 file changed +21
-11
lines changed Expand file tree Collapse file tree 1 file changed +21
-11
lines changed Original file line number Diff line number Diff line change 11name : CIFuzz
2- on : [pull_request]
2+ run-name : >-
3+ Perform fuzz testing on pull request ${{github.event.pull_request.number}}
4+ by ${{github.actor}}
5+ on :
6+ pull_request :
7+ workflow_dispatch :
38permissions : {}
9+ concurrency :
10+ # Cancel any previously-started but still active runs on the same branch.
11+ cancel-in-progress : true
12+ group : ${{github.workflow}}-${{github.event.pull_request.number||github.ref}}
413jobs :
5- Fuzzing :
6- runs-on : ubuntu-latest
14+ fuzzing :
15+ name : Fuzz testing
16+ runs-on : ubuntu-24.04
717 permissions :
818 security-events : write
919 steps :
1020 - name : Build Fuzzers
1121 id : build
12- uses : google /oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
22+ uses : ToastCheng /oss-fuzz/infra/cifuzz/actions/build_fuzzers@7deb0b7042b7765ea3827cc534fedfb359f051ca
1323 with :
14- oss-fuzz-project-name : cirq
24+ oss-fuzz-project-name : ' Cirq '
1525 language : python
1626 - name : Run Fuzzers
17- uses : google /oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
27+ uses : ToastCheng /oss-fuzz/infra/cifuzz/actions/run_fuzzers@7deb0b7042b7765ea3827cc534fedfb359f051ca
1828 with :
19- oss-fuzz-project-name : cirq
29+ oss-fuzz-project-name : ' Cirq '
2030 language : python
2131 fuzz-seconds : 600
2232 output-sarif : true
23- - name : Upload Crash
24- uses : actions/upload-artifact@v4
33+ - name : Upload artifacts to workflow page if a failure occurred
34+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
2535 if : failure() && steps.build.outcome == 'success'
2636 with :
2737 name : artifacts
2838 path : ./out/artifacts
29- - name : Upload Sarif
39+ - name : Upload SARIF file to results page
3040 if : always() && steps.build.outcome == 'success'
31- uses : github/codeql-action/upload-sarif@v2
41+ uses : github/codeql-action/upload-sarif@8dca8a82e2fa1a2c8908956f711300f9c4a4f4f6 # v2
3242 with :
3343 # Path to SARIF file relative to the root of the repository
3444 sarif_file : cifuzz-sarif/results.sarif
You can’t perform that action at this time.
0 commit comments