Skip to content

ci: remove changelog rollover from release workflow#97

Merged
Mikola Lysenko (mikolalysenko) merged 1 commit into
mainfrom
chore/remove-changelog-rollover
Jun 2, 2026
Merged

ci: remove changelog rollover from release workflow#97
Mikola Lysenko (mikolalysenko) merged 1 commit into
mainfrom
chore/remove-changelog-rollover

Conversation

@mikolalysenko
Copy link
Copy Markdown
Collaborator

Summary

Removes the changelog-rollover job from the release workflow. After publishing, that job committed a chore(changelog): roll [Unreleased] over to vX.Y.Z change directly back to main. Branch protection rejects that push every time:

remote: error: GH013: Repository rule violations found for refs/heads/main.
remote: - Required workflow 'Audit GHA Workflows' is not satisfied
remote: - Changes must be made through a pull request.
remote: - Commits must have verified signatures.
! [remote rejected] HEAD -> main (push declined due to repository rule violations)

So the job failed every release while adding no value.

Changes

  • Delete the changelog-rollover job and scripts/rollover-changelog.sh.
  • Simplify the version job's CHANGELOG check to require an explicit ## [X.Y.Z] heading. It previously also accepted a non-empty ## [Unreleased] section as a stand-in for the post-publish stamp the rollover job would write — that path no longer exists.

New flow

Maintainers rename ## [Unreleased]## [X.Y.Z] — DATE by hand in the version-bump PR (the same PR that bumps Cargo.toml). No post-release push to main, so nothing fights branch protection.

🤖 Generated with Claude Code

The changelog-rollover job committed a "roll [Unreleased] over to vX.Y.Z"
change directly back to main after publishing. Branch protection rejects
that push (required workflow not satisfied, changes must go through a PR,
commits must be signed), so the job failed every release without adding
value.

Remove the job and its scripts/rollover-changelog.sh helper. Maintainers
now rename `## [Unreleased]` to `## [X.Y.Z] — DATE` by hand in the
version-bump PR. The version job's CHANGELOG check is simplified to
require an explicit `## [X.Y.Z]` heading (it no longer accepts a
non-empty [Unreleased] section as a stand-in for the post-publish stamp).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mikolalysenko
Copy link
Copy Markdown
Collaborator Author

This turned out to be a dumb idea

@mikolalysenko Mikola Lysenko (mikolalysenko) merged commit 5b4e513 into main Jun 2, 2026
43 checks passed
@mikolalysenko Mikola Lysenko (mikolalysenko) deleted the chore/remove-changelog-rollover branch June 2, 2026 19:00
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.

2 participants