Skip to content

Commit

Permalink
Skip incremental-mutants job for main
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dunxen committed Jul 4, 2024
1 parent 669a459 commit b1d7829
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ jobs:

incremental-mutants:
runs-on: ubuntu-latest
if: github.ref_name != 'main' # `main` has no diff with itself
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit b1d7829

Please sign in to comment.