From: Duncan Dean Date: Thu, 4 Jul 2024 13:48:01 +0000 (+0200) Subject: Skip incremental-mutants job for main X-Git-Tag: v0.0.124-beta~62^2~1 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=b1d782956575196659ee288fa045998a49f23c4f;p=rust-lightning 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. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90ecd4431..a7c6bcc21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: