Reduce number of builds
@@ -4,7 +4,9 @@ workflow:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never
+ - if: $CI_COMMIT_BRANCH == "main"
- if: $CI_COMMIT_BRANCH
+ when: never
stages:
- build
