Add rules:changes to the list of "Use rules with include"
What does this MR do and why?
As this section describes, usage of rules:changes
in include is supported from GitLab 16.4
https://docs.gitlab.com/ee/ci/yaml/includes.html#include-with-ruleschanges
include
withrules:changes
History
- Introduced in GitLab 16.4.
Use
rules:changes
to conditionally include other configuration files based on changed files. For example:
However, this is not listed in the "Use rules
with include
"list.
https://docs.gitlab.com/ee/ci/yaml/includes.html#use-rules-with-include
You can only use
rules
with certain variables, and these keywords:
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.