YAML anchoring of rules doesn't work.
This issue tracker is only for support issues pertaining to GitLab.com repositories. To report bugs with GitLab itself, go to https://GitLab.com/gitlab-org/gitlab/issues.
For issues concerning your access to GitLab.com (including two-factor authentication, username and access issues), please raise these straight to our Support team via the web form. These issues should not be posted here as you will be required to provide sensitive information not suitable for the public forum.
You may remove this text before creating your issue. Please provide the following information when creating support requests for GitLab.com.
I have common rules which should be applied to several jobs in my pipleine. YAML anchoring is throwing lint errors.
Approximate date/time when the error occurred. : 3/10/2020 : 9:00PM EST
Describe what you were doing right before the issue occurred.
I would expect this to work: .client_rules: &client-rules
- when: never
and then in my job:
rules: - *client-rules
but it does not. I get jobs:release-client-build rules should be an array of hashes