Do not run undercover on the master branch

No need to compare master to itself.
This commit is contained in:
Gaetan Craig-Riou
2025-07-02 10:12:28 +10:00
parent 80aa8d71a5
commit 81c75b2b71

View File

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