Retain two spaces between content and comment in yaml files #31360
Labels
manager:github-actions
Github actions manager
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
type:feature
Feature (new functionality)
Discussed in #31359
Originally posted by zisuu September 12, 2024
Context and Proposal
By default, Renovate does not keep the two spaces between content and a comment in a yaml file when it needs to update the comment. This can lead to issues like Renovate PRs not getting merged if you have yamllint checks running, see this example Repo Pull Request: https://github.com/zisuu/yamllint-test/pull/1/files:
From:
To:
Ideas on how to solve this:
This applies to the lib/modules/manager/github-actions code specifically.
Reproduction forked to https://github.com/renovate-reproductions/31359
The text was updated successfully, but these errors were encountered: