Skip to content

Commit

Permalink
Only fuzz test PRs that run the test suite
Browse files Browse the repository at this point in the history
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.)
  • Loading branch information
EliahKagan committed Sep 24, 2024
1 parent 612896d commit a48965c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
name: CIFuzz
on:
pull_request:
branches: [ main ]
branches:
- main
paths:
- '.github/**'
- 'ci/**'
- 'etc/**'
- 'src/**'
- 'tests/**'
- 'cargo-*/**'
- 'gix*/**'
- '*.toml'
- Makefile
workflow_dispatch:
jobs:
Fuzzing:
Expand Down

0 comments on commit a48965c

Please sign in to comment.