feat: implement workflow:rules:variables support (#1832)#1833
Merged
firecow merged 1 commit intofirecow:masterfrom Apr 29, 2026
Merged
feat: implement workflow:rules:variables support (#1832)#1833firecow merged 1 commit intofirecow:masterfrom
firecow merged 1 commit intofirecow:masterfrom
Conversation
Evaluate workflow:rules after data expansion and merge matched rule variables into global variables, making them available to all jobs. Variables follow GitLab CI precedence: job-level variables override workflow:rules:variables. Co-authored-by: Copilot <[email protected]>
1225449 to
7311bc9
Compare
bcouetil
added a commit
to bcouetil/gitlab-ci-local
that referenced
this pull request
Apr 20, 2026
Display the environment name in --list and --list-csv outputs, placed just before the needs column. Jobs without an environment show an empty value. The list-environment test expects workflow:rules:variables resolution (PR firecow#1833) and will fail until that feature is merged. Co-authored-by: Copilot <[email protected]>
firecow
approved these changes
Apr 29, 2026
bcouetil
added a commit
to bcouetil/gitlab-ci-local
that referenced
this pull request
Apr 30, 2026
Display the environment name in --list and --list-csv outputs, placed just before the needs column. Jobs without an environment show an empty value. The list-environment test expects workflow:rules:variables resolution (PR firecow#1833) and will fail until that feature is merged. Co-authored-by: Copilot <[email protected]>
bcouetil
added a commit
to bcouetil/gitlab-ci-local
that referenced
this pull request
Apr 30, 2026
Display the environment name in --list and --list-csv outputs, placed just before the needs column. Jobs without an environment show an empty value. The list-environment test expects workflow:rules:variables resolution (PR firecow#1833) and will fail until that feature is merged. Co-authored-by: Copilot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1832
Evaluate workflow:rules after data expansion and merge matched rule variables into global variables, making them available to all jobs.
Variables follow GitLab CI precedence: job-level variables override workflow:rules:variables.
Variable precedence
Per GitLab docs,
workflow:rules:variablesoverride top-levelvariables, but are themselves overridden by job-levelvariables. This is tested and matches the official behavior.