Skip to content

Commit a48965c

Browse files
committed
Only fuzz test PRs that run the test suite
This adds a `paths` restriction on the CIFuzz job to avoid the situation where a PR that doesn't modify anything that causes the usual tests to run on it would still run fuzz tests. (This should still have CIFuzz run even when the only change a PR makes is to adjust how CI fuzzing itself works, because one of the patterns is matched by any change to any CI workflow file.)
1 parent 612896d commit a48965c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Diff for: .github/workflows/cifuzz.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
name: CIFuzz
22
on:
33
pull_request:
4-
branches: [ main ]
4+
branches:
5+
- main
6+
paths:
7+
- '.github/**'
8+
- 'ci/**'
9+
- 'etc/**'
10+
- 'src/**'
11+
- 'tests/**'
12+
- 'cargo-*/**'
13+
- 'gix*/**'
14+
- '*.toml'
15+
- Makefile
516
workflow_dispatch:
617
jobs:
718
Fuzzing:

0 commit comments

Comments
 (0)