Commit 8d297c07 authored by Matt Pryor's avatar Matt Pryor
Browse files

Prevent the double running of pipelines when there is an open GitHub PR

parent 8672c002
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -64,12 +64,15 @@ variables:
    # Push all tags
    - docker push $REPOSITORY
  only:
    # Only run build jobs for branches in the repo, not PRs
    # Only run build jobs for branches in the repo, not MRs
    refs:
      - branches
    # Only run build jobs if there is a change to the images
    changes:
      - images/**/*
  except:
    # Exclude any branches that correspond to external PRs
    - external_pull_requests

build:base:
  extends: .docker-build