Disable automatic CI jobs for every pushed branch
This commit is contained in:
parent
d24e6eaf39
commit
f66a877af7
2 changed files with 2 additions and 1 deletions
|
|
@ -14,9 +14,10 @@ variables: &global_variables
|
||||||
workflow:
|
workflow:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
- if: $CI_COMMIT_BRANCH == "develop"
|
||||||
|
- if: $CI_COMMIT_BRANCH == "stable"
|
||||||
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
|
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_BRANCH
|
|
||||||
|
|
||||||
cache: &global_cache_policy
|
cache: &global_cache_policy
|
||||||
key: $CI_JOB_IMAGE-$CI_COMMIT_SHORT_SHA
|
key: $CI_JOB_IMAGE-$CI_COMMIT_SHORT_SHA
|
||||||
|
|
|
||||||
0
changelog.d/gitlabci.skip
Normal file
0
changelog.d/gitlabci.skip
Normal file
Loading…
Add table
Add a link
Reference in a new issue