Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^master|release|tag\/.*$
/
gm

Description

rules:
        - if: '$CI_COMMIT_BRANCH !~ /^release|hotfix|$CI_DEFAULT_BRANCH\/.*$/'
          when: manual
          allow_failure: true
        - when: always
Submitted by Kramtoske - 3 years ago