Verified Commit 5c22a54b authored by godotislate's avatar godotislate
Browse files

task: #3580398 Skip on-commit jobs for the main and 11.x branches

By: dww
By: catch
By: quietone
By: godotislate
By: cmlara
parent d97ade05
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for .gitlab-ci.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@ default:

.run-on-commit: &run-on-commit
  rules:
    - if: $CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_ROOT_NAMESPACE == "project"
    - if: $CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_ROOT_NAMESPACE == "project" && $CI_COMMIT_BRANCH != "main" && $CI_COMMIT_BRANCH != "11.x"
      allow_failure: true

.run-daily: &run-daily