Skip to content

Commit

Permalink
Update defaults to run Gitlab pipeline on push to feature branch (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
velomatt authored Mar 28, 2024
1 parent 5335e23 commit 2ecfdb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
BRANCH_NAME: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
SONAR_BRANCH: ''
- if: $CI_COMMIT_BRANCH == "master" && $CI_PIPELINE_SOURCE == "push"
- if: $CI_COMMIT_BRANCH =~ /^stable\/.*/ && $CI_PIPELINE_SOURCE == "push"
- if: $CI_COMMIT_BRANCH =~ /^(stable|feature)\/.*/ && $CI_PIPELINE_SOURCE == "push"
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- if: $CI_PIPELINE_SOURCE == "web"
push_only:
- if: $CI_COMMIT_BRANCH == "master" && $CI_PIPELINE_SOURCE == "push"
- if: $CI_COMMIT_BRANCH =~ /^stable\/.*/ && $CI_PIPELINE_SOURCE == "push"
- if: $CI_COMMIT_BRANCH =~ /^(stable|feature)\/.*/ && $CI_PIPELINE_SOURCE == "push"
scheduled_sync:
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TYPE == "sync"

Expand Down

0 comments on commit 2ecfdb5

Please sign in to comment.