name: ClusterFuzzLite corpus pruning
on:
schedule:
- cron: "0 5 * * *" workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
actions: read
jobs:
Pruning:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Build Fuzzers
id: build
uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 with:
language: rust
- name: Run Fuzzers
id: run
uses: google/clusterfuzzlite/actions/run_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: 600
mode: prune
storage-repo: https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
storage-repo-branch: fuzz-corpus