Skip to content

fix(spire): add missing trailing newline to values.yaml - #332

Merged
devkoriel merged 1 commit into
mainfrom
fix-spire-values-trailing-newline
Aug 6, 2026
Merged

fix(spire): add missing trailing newline to values.yaml#332
devkoriel merged 1 commit into
mainfrom
fix-spire-values-trailing-newline

Conversation

@devkoriel

Copy link
Copy Markdown
Contributor

One byte. charts/spire/values.yaml has no trailing newline, so yamllint's new-line-at-end-of-file rule fails:

30:21 [new-line-at-end-of-file] no new line character at the end of file
✖︎ spire => (version: "0.3.6", path: "charts/spire")

Pre-existing, not introduced by #331. git show HEAD~1:charts/spire/values.yaml | tail -c 1 returns t, so the file already ended without a newline. ct lint only lints charts a PR touches, which is why it stayed invisible until #331 was the first PR in a while to modify this chart.

Worth fixing rather than ignoring: it fails the lint job on every future spire chart PR, which trains people to merge past a red check. #331 itself merged with this failing, and the release published fine (spire-0.3.6, spectre-0.3.8 are both out), but that is not a habit worth keeping.

No chart version bump: this changes no rendered output.

yamllint's new-line-at-end-of-file rule fails on this file. ct lint only
runs against charts a PR touches, so it stayed hidden until #331 modified
the spire chart, and it will fail every future spire PR until fixed.

Pre-existing, not introduced by #331: git show confirms the file already
ended without a newline before that change.
@devkoriel devkoriel self-assigned this Aug 6, 2026
@devkoriel devkoriel added the bug Something isn't working label Aug 6, 2026
@devkoriel
devkoriel merged commit 1ae4697 into main Aug 6, 2026
2 of 3 checks passed
@devkoriel
devkoriel deleted the fix-spire-values-trailing-newline branch August 6, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant