Skip to content

Commit 65ed01b

Browse files
[skip ci] Add workflow_dispatch for cflite workflows
1 parent a2a557c commit 65ed01b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/cflite_batch.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ name: ClusterFuzzLite batch fuzzing
22
on:
33
schedule:
44
- cron: '0 0/6 * * *'
5+
workflow_dispatch:
6+
inputs:
7+
fuzz-seconds:
8+
description: 'The total time allotted for fuzzing in seconds.'
9+
required: true
10+
default: 3600
11+
512
permissions: read-all
613
jobs:
714
BatchFuzzing:
@@ -23,7 +30,7 @@ jobs:
2330
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
2431
with:
2532
github-token: ${{ secrets.GITHUB_TOKEN }}
26-
fuzz-seconds: 3600
33+
fuzz-seconds: ${{ github.event.inputs.fuzz-seconds || 3600 }}
2734
mode: 'batch'
2835
sanitizer: ${{ matrix.sanitizer }}
2936
output-sarif: true

.github/workflows/cflite_cron.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: ClusterFuzzLite cron tasks
22
on:
33
schedule:
44
- cron: '0 0 * * *'
5+
workflow_dispatch: {}
6+
57
permissions: read-all
68
jobs:
79
Pruning:

0 commit comments

Comments
 (0)