Ignore branch builds on our repository

This commit is contained in:
Nanne Baars 2021-10-24 11:43:03 +02:00
parent 720414eba6
commit a4104fdf8b
No known key found for this signature in database
GPG Key ID: A6D6C06FE4EC14E7

View File

@ -6,8 +6,8 @@ on:
- develop - develop
- release/* - release/*
jobs: jobs:
if: github.push.repository != github.repository
install-notest: install-notest:
if: ${{ github.push.repository != github.repository }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: "Package and linting" name: "Package and linting"
steps: steps:
@ -28,6 +28,7 @@ jobs:
run: mvn install -DskipTests run: mvn install -DskipTests
testing: testing:
if: ${{ github.push.repository != github.repository }}
needs: install-notest needs: install-notest
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy: