Skip to content

Commit b1d7829

Browse files
committed
Skip incremental-mutants job for main
There is no diff when running against main, so we skip incremental-mutants. Before this commit, we'd get `Error: Failed to parse diff: Line 1: Error while parsing:` as the diff file was empty.
1 parent 669a459 commit b1d7829

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ jobs:
250250

251251
incremental-mutants:
252252
runs-on: ubuntu-latest
253+
if: github.ref_name != 'main' # `main` has no diff with itself
253254
steps:
254255
- uses: actions/checkout@v3
255256
with:

0 commit comments

Comments
 (0)