From 42a546d28572f4f61849a1a7de61d5b9734f57c8 Mon Sep 17 00:00:00 2001 From: Ashley <73482956+ascopes@users.noreply.github.com> Date: Fri, 27 Jan 2023 08:42:00 +0000 Subject: [PATCH] Only run mutation tests on main branch Signed-off-by: Ashley <73482956+ascopes@users.noreply.github.com> --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b6a44ef17..67fe28c49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -121,6 +121,7 @@ jobs: mutation-tests: name: Run mutation tests runs-on: ubuntu-22.04 + if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' steps: - name: Checkout repository