ci: Fix workflow rules syntax - remove quotes
Remove quotes around CI variable references in workflow rules to match GitLab documentation syntax.
This commit is contained in:
@@ -7,10 +7,10 @@ include:
|
||||
workflow:
|
||||
rules:
|
||||
# Allow manual merge request pipelines when MANUAL_TRIGGER is set
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $MANUAL_TRIGGER == "1"'
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event" && $MANUAL_TRIGGER == "1"
|
||||
when: always
|
||||
# Prevent automatic merge request pipelines
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
when: never
|
||||
# Allow all other pipeline sources (push, manual, API)
|
||||
- when: always
|
||||
|
||||
Reference in New Issue
Block a user