Skip to content

ClusterFuzzLite corpus maintenance #201

ClusterFuzzLite corpus maintenance

ClusterFuzzLite corpus maintenance #201

name: ClusterFuzzLite corpus maintenance
on:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
inputs:
job:
description: 'Job to run (prune, coverage, or both)'
required: false
default: 'both'
fuzz_seconds:
description: 'Fuzzing duration in seconds'
required: false
default: '600'
permissions: read-all
jobs:
prune:
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.job == '' || github.event.inputs.job == 'both' || github.event.inputs.job == 'prune' }}
uses: ./.github/workflows/clusterfuzzlite-shared.yml
secrets: inherit
with:
job_name: Corpus prune
run_mode: prune
fuzz_seconds: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.fuzz_seconds != '' && fromJSON(github.event.inputs.fuzz_seconds) || 600 }}
output_sarif: true
coverage:
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.job == '' || github.event.inputs.job == 'both' || github.event.inputs.job == 'coverage' }}
uses: ./.github/workflows/clusterfuzzlite-shared.yml
secrets: inherit
with:
job_name: Coverage
sanitizers_json: '{"sanitizer":["coverage"]}'
run_mode: coverage
fuzz_seconds: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.fuzz_seconds != '' && fromJSON(github.event.inputs.fuzz_seconds) || 600 }}
output_sarif: true