We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When formatting a yaml file with anchors, extra characters (!!merge) are added on format which invalidates the file.
!!merge
This is an issue specifically with the <<: *partial anchor. Or even more specifically the << part of it. https://docs.gitlab.com/ee/ci/yaml/yaml_optimization.html
<<: *partial
<<
Before save:
deploy-mr: <<: *mr_deployer_config script: - *set_env_params - npm run start rules: - if: $CI_MERGE_REQUEST_ID && $CI_PIPELINE_SOURCE == "parent_pipeline"
After save:
deploy-mr: !!merge <<: *mr_deployer_config script: - *set_env_params - npm run start rules: - if: $CI_MERGE_REQUEST_ID && $CI_PIPELINE_SOURCE == "parent_pipeline"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When formatting a yaml file with anchors, extra characters (
!!merge
) are added on format which invalidates the file.This is an issue specifically with the
<<: *partial
anchor. Or even more specifically the<<
part of it.https://docs.gitlab.com/ee/ci/yaml/yaml_optimization.html
Before save:
After save:
The text was updated successfully, but these errors were encountered: