Update .gitlab-ci.yml

This commit is contained in:
2022-11-05 10:26:50 +00:00
parent 31300aebbf
commit d3e1715c6d

View File

@@ -10,7 +10,6 @@ include:
- 'terraform.yml'
- 'ansible.yml'
plan:
stage: lint
variables:
@@ -20,8 +19,11 @@ plan:
extends: .terraform_plan
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- changes:
- 'terraform/*'
changes:
compare_to: refs/heads/main
paths:
- 'terraform/*'
when: always
- when: never
k3s: