oss-fuzz/infra/cifuzz/actions/run_fuzzers/action.yml

26 lines
761 B
YAML

# action.yml
name: 'run-fuzzers'
description: 'Runs fuzz target binaries for a specified length of time.'
inputs:
oss-fuzz-project-name:
description: 'The OSS-Fuzz project name.'
required: true
fuzz-seconds:
description: 'The total time allotted for fuzzing in seconds.'
required: true
default: 600
dry-run:
description: 'If set, run the action without actually reporting a failure.'
default: false
sanitizer:
description: 'The sanitizer to run the fuzzers with.'
default: 'address'
runs:
using: 'docker'
image: 'Dockerfile'
env:
OSS_FUZZ_PROJECT_NAME: ${{ inputs.oss-fuzz-project-name }}
FUZZ_SECONDS: ${{ inputs.fuzz-seconds }}
DRY_RUN: ${{ inputs.dry-run}}
SANITIZER: ${{ inputs.sanitizer }}