github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/yaml/testdata/job_keywords/rules/if.yaml.golden (about) 1 job: 2 rules: 3 - if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^feature/ && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH 4 when: never 5 - if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^feature/ 6 allow_failure: true 7 when: manual 8 - if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME 9 script: 10 - echo "Hello, Rules!"