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.
This commit is contained in:
Duncan Dean 2024-07-04 15:48:01 +02:00
parent 669a4596a6
commit b1d7829565
No known key found for this signature in database

View file

@ -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: