From a4104fdf8bce0c6497f1ea7625451cb07989e678 Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Sun, 24 Oct 2021 11:43:03 +0200 Subject: [PATCH] Ignore branch builds on our repository --- .github/workflows/branch_build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/branch_build.yml b/.github/workflows/branch_build.yml index 66be8f72b..d34fa952c 100644 --- a/.github/workflows/branch_build.yml +++ b/.github/workflows/branch_build.yml @@ -6,8 +6,8 @@ on: - develop - release/* jobs: - if: github.push.repository != github.repository install-notest: + if: ${{ github.push.repository != github.repository }} runs-on: ubuntu-latest name: "Package and linting" steps: @@ -28,6 +28,7 @@ jobs: run: mvn install -DskipTests testing: + if: ${{ github.push.repository != github.repository }} needs: install-notest runs-on: ubuntu-latest strategy: