From 81c75b2b7121328ebd848da65f5e49b406dff98d Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Wed, 2 Jul 2025 10:12:28 +1000 Subject: [PATCH] Do not run undercover on the master branch No need to compare master to itself. --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b447c5e5e7..f4a97638a9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -412,3 +412,4 @@ jobs: run: | git fetch --no-tags origin master:master bundle exec undercover + if: ${{ github.ref != 'refs/heads/master' }} # Does not run on master, as we can't fetch master in the master branch