summaryrefslogtreecommitdiff
path: root/spec/frontend/editor/schema/ci/yaml_tests/positive_tests/rules.yml
blob: 27a199cff1392177a2990cdbd691b94c4b21686e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Covers https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74164

# test for workflow:rules:changes and workflow:rules:exists
workflow:
  rules:
    - if: '$CI_PIPELINE_SOURCE == "schedule"'
      exists:
        - Dockerfile
      changes:
        - Dockerfile
      variables:
        IS_A_FEATURE: 'true'
      when: always