Skip to content

chore(deps): update ghcr.io/google/yamlfmt docker tag to v0.17.1 #106

New issue

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

Merged
merged 1 commit into from
Jun 19, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 19, 2025

This PR contains the following updates:

Package Update Change
ghcr.io/google/yamlfmt patch 0.17.0 -> 0.17.1

Release Notes

google/yamlfmt (ghcr.io/google/yamlfmt)

v0.17.1

Compare Source

Made this patch release because I don't have any upcoming work planned on yamlfmt at the moment and wanted to get this bugfix released.

Bug Fixes

yaml files with just comments had their contents erased.

If a yaml file had just comments, previously yamlfmt would erase the contents. This was an oversight on how yaml.v3 parses a file like this. Comment parsing works such that any comments found are attached as head, line, or foot comments to a given node. Since a yaml file with just comments has no nodes, the comment wouldn't be anywhere in the parse tree because the parse tree would be empty. Empty parse tree = yamlfmt produces an empty document. This is now properly treated as an edge case and will retain the contents as originally passed in if the file is just comments.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) June 19, 2025 18:35
@renovate renovate bot merged commit 64fbd3f into main Jun 19, 2025
8 checks passed
@renovate renovate bot deleted the renovate/ghcr.io-google-yamlfmt-0.x branch June 19, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants