Skip to content

Commit

Permalink
Allow timeout and OOMs options in GH Action (google#12003)
Browse files Browse the repository at this point in the history
With disabled option `report-oom` in GH Action Github reports
a warning:

"Unexpected input(s) 'report_ooms', valid inputs are ['entryPoint',
'args', 'language', 'fuzz-seconds', 'dry-run', 'sanitizer', 'mode',
'github-token', 'storage-repo', 'storage-repo-branch',
'storage-repo-branch-coverage', 'report-unreproducible-crashes',
'minimize-crashes', 'parallel-fuzzing', 'output-sarif']".

The patch follows up commit a7c524d ("Fix doc timeouts and
ooms and allow these options in GH Action (google#12003)").
  • Loading branch information
ligurio committed Jun 11, 2024
1 parent 83f38e7 commit 2cf663e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions infra/cifuzz/actions/run_fuzzers/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ inputs:
description: "Whether to output fuzzing results to SARIF."
required: false
default: false
report-timeouts:
description: "Whether to report fails due to timeout."
required: false
default: true
report-ooms:
description: "Whether to report fails due to OOM."
required: false
default: true
runs:
using: 'docker'
image: '../../../run_fuzzers.Dockerfile'
Expand All @@ -70,3 +78,5 @@ runs:
CFL_PLATFORM: 'github'
PARALLEL_FUZZING: ${{ inputs.parallel-fuzzing }}
OUTPUT_SARIF: ${{ inputs.output-sarif }}
REPORT_TIMEOUTS: ${{ inputs.report-timeouts }}
REPORT_OOMS: ${{ inputs.report-ooms}}

0 comments on commit 2cf663e

Please sign in to comment.