workflow.yml 754 B

1234567891011121314
  1. workflow:
  2. rules:
  3. # Allow duplicate pipelines for filtered pipelines as we cannot pass variables from the
  4. # git push commandline to merge request pipelines.
  5. # (see https://docs.gitlab.com/ee/user/project/push_options.html)
  6. - if: $JOB_FILTER || $BROWSER_TEST_FILTER
  7. when: always
  8. # Avoid duplicate branch and MR pipelines for push events to branches with an open MR.
  9. - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"
  10. when: never
  11. # Don't create branch pipelines for pushes to private branches (as there will also be a MR for them).
  12. - if: $CI_COMMIT_BRANCH =~ /^(private|cherry-pick-|renovate|dependabot)/ && $CI_PIPELINE_SOURCE == "push"
  13. when: never
  14. - when: always