Skip to content

Commit a5bb14e

Browse files
committed
Add scheduled github worklow job for Fuzzing
Signed-off-by: smoshiur1237 <moshiur.rahman@est.tech>
1 parent cf61ca9 commit a5bb14e

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Scheduled Fuzz Testing
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
fuzz_time:
8+
description: 'Fuzzing duration per test (e.g., 30s, 1m, 1h)'
9+
required: false
10+
default: '1m'
11+
type: string
12+
schedule:
13+
# Run every Monday at 3:42 AM UTC
14+
- cron: "42 3 * * 1"
15+
16+
permissions: {}
17+
18+
jobs:
19+
fuzz-tests:
20+
uses: metal3-io/project-infra/.github/workflows/scheduled-fuzz.yml@main # zizmor: ignore[unpinned-uses]
21+
permissions:
22+
contents: read
23+
issues: write
24+
with:
25+
fuzz_time: ${{ inputs.fuzz_time || '1m' }}
26+
fuzz_command: 'make fuzz-run FUZZ_TIME=${{ inputs.fuzz_time || "1m" }}'
27+
artifact_path: 'test/fuzz/testdata/fuzz/'
28+
go_version_command: 'make go-version'
29+
issue_labels: 'kind/bug,area/testing'
30+
create_issue: true

0 commit comments

Comments
 (0)