Disable danger in preparation branches
Most of these validations don't apply to preparation branches and they cause a lot of noise in the merge request. Therefore disabling danger when the branches look like branches that could be for a preparation MR.
This commit is contained in:
parent
d867a58c2b
commit
1ea6d58552
1 changed files with 1 additions and 0 deletions
|
@ -453,6 +453,7 @@ danger-review:
|
|||
- master
|
||||
variables:
|
||||
- $CI_COMMIT_REF_NAME =~ /^ce-to-ee-.*/
|
||||
- $CI_COMMIT_REF_NAME =~ /.*-stable(-ee)?-prepare-.*/
|
||||
script:
|
||||
- git version
|
||||
- danger --fail-on-errors=true
|
||||
|
|
Loading…
Reference in a new issue