mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
|
|
---
|
|
|
|
.rules-branch-and-MR-manual:
|
|
rules:
|
|
- if: $CI_COMMIT_BRANCH || $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
when: manual
|
|
allow_failure: true
|
|
- when: never
|
|
|
|
.rules-branch-manual-MR-and-devel-always:
|
|
rules:
|
|
- if: $CI_COMMIT_BRANCH == "devel" || $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
when: always
|
|
allow_failure: false
|
|
- if: $CI_COMMIT_BRANCH
|
|
when: manual
|
|
allow_failure: true
|
|
- when: never
|
|
|
|
.rules-branch-manual-scheduled-and-test-branch-always:
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
|
when: always
|
|
allow_failure: false
|
|
- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME=~ /^test/
|
|
when: always
|
|
allow_failure: false
|
|
- if: $CI_COMMIT_BRANCH
|
|
when: manual
|
|
allow_failure: true
|
|
- when: never
|
|
|
|
.rules-br-tag-always-branch-and-MR-manual:
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH
|
|
when: manual
|
|
allow_failure: true
|
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
when: manual
|
|
allow_failure: true
|
|
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_TAG =~ /^br-\d+/
|
|
when: always
|
|
- when: never
|
|
|