Merge branch 'preperation-32-when-anchors' into 'development'
fix(commit_footer_check): run on non master/dev branches only See merge request nofusscomputing/projects/gitlab-ci!42
This commit is contained in:
@ -109,9 +109,9 @@ commit footer refs:
|
||||
# - if: '$CI_COMMIT_BRANCH == "development" || $CI_COMMIT_BRANCH == "master"'
|
||||
# when: never
|
||||
|
||||
- if: # condition_any_branch_push
|
||||
$CI_COMMIT_BRANCH != null &&
|
||||
$CI_COMMIT_TAG == null &&
|
||||
- if: # condition_not_master_or_dev_push
|
||||
$CI_COMMIT_BRANCH != "master" &&
|
||||
$CI_COMMIT_BRANCH != "development" &&
|
||||
$CI_PIPELINE_SOURCE == "push"
|
||||
exists:
|
||||
- .cz.yaml
|
||||
|
@ -68,22 +68,17 @@
|
||||
$CI_COMMIT_BRANCH == "master" &&
|
||||
$CI_PIPELINE_SOURCE == "push"
|
||||
exists:
|
||||
#- '{!gitlab-ci/**, !website-template/**, **}/*gitlab-ci*'
|
||||
- '{*, **/}*gitlab-ci*'
|
||||
# - ".gitlab-ci*"
|
||||
# - "**/*gitlab-ci*"
|
||||
- '{*, **/**, **}/*gitlab-ci*'
|
||||
when: always
|
||||
|
||||
- if: # condition_dev_branch_push
|
||||
$CI_COMMIT_BRANCH == "development" &&
|
||||
$CI_PIPELINE_SOURCE == "push"
|
||||
exists:
|
||||
#- '{!gitlab-ci/**, !website-template/**, **}/*gitlab-ci*'
|
||||
- '{*, **/}*gitlab-ci*'
|
||||
- '{*, **/**, **}/*gitlab-ci*'
|
||||
changes:
|
||||
paths:
|
||||
#- '{!gitlab-ci/**, !website-template/**, **}/*gitlab-ci*'
|
||||
- '{*, **/}*gitlab-ci*'
|
||||
- '{*, **/**, **}/*gitlab-ci*'
|
||||
compare_to: 'master'
|
||||
when: always
|
||||
|
||||
@ -92,16 +87,10 @@
|
||||
$CI_COMMIT_BRANCH != "development" &&
|
||||
$CI_PIPELINE_SOURCE == "push"
|
||||
exists:
|
||||
#- '{!gitlab-ci/**, !website-template/**, **}/*gitlab-ci*yml'
|
||||
#- '{*, a}/*gitlab-ci*yml' # worked
|
||||
#- '{!website-template/**, *, **, **/**}gitlab-ci*'
|
||||
#- '{*, **, **/**, !website-template/**}/*gitlab-c*' worked
|
||||
- '{*, **/}*gitlab-ci*'
|
||||
- '{*, **/**, **}/*gitlab-ci*'
|
||||
changes:
|
||||
paths:
|
||||
- '{*, **/}*gitlab-ci*'
|
||||
# - ".gitlab-ci*"
|
||||
# - "**/*gitlab-ci*"
|
||||
- '{*, **/**, **}/*gitlab-ci*'
|
||||
compare_to: 'development'
|
||||
when: always
|
||||
|
||||
|
Reference in New Issue
Block a user