Skip to content

fix(release): formatter-stable changelog spacing; drop the environment gate - #22

Merged
Troublor merged 1 commit into
mainfrom
troublor/fix/changelog-spacing-no-env-gate
Sep 7, 2026
Merged

Troublor merged 1 commit into
mainfrom
troublor/fix/changelog-spacing-no-env-gate

Conversation

@Troublor

@Troublor Troublor commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Two things learned from the mega-agents pilot:

  • Changelog spacing. insert_changelog_section left a double newline at EOF; dprint strips it, so the first back-merge PR (mega-agents#293) failed its consumer's fmt-check. The writer now normalises to one blank line between blocks and one newline at EOF, which is stable under dprint/prettier. Test added (13 pass).
  • No environment gate on publish. Merging the settle PR is already the release approval — the release-* ruleset requires a reviewed PR — so the second approval on the publish job was redundant. The template drops environment: release; the README says a repo can add one if it wants a separate second approver.

🤖 Generated with Claude Code

…t gate

The changelog writer left a double newline at EOF, which dprint strips —
so the first back-merge PR failed its consumer's fmt-check. Normalise to
one blank line between blocks and one newline at EOF.

Merging the settle PR is the release approval (the release-* ruleset
requires a reviewed PR), so the publish template no longer runs under a
release environment; repos wanting a second approver can add one.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013eLFMaDpEwgDzyDBzCQzLH
@Troublor
Troublor merged commit 1fcc545 into main Sep 7, 2026
1 check passed
@Troublor
Troublor deleted the troublor/fix/changelog-spacing-no-env-gate branch September 7, 2026 11:32
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.

1 participant