Repository navigation
chore(release): carry the changelog entries in the pull requests - #979
Merged
Merged
Conversation
Each pull request now adds its own entry under `## [Unreleased]` of CHANGELOG.md, as Eclipse Open VSX does, so no change has to collect the changelog at release time. The release commit only renames `[Unreleased]` to the version and opens a new one; the tag is then created from the command line or the GitHub web interface. The GitHub release appends the notes that GitHub generates to the section of the version: the pull requests with their authors, the new contributors, and the Dependabot updates grouped apart by .github/release.yml. The hand-written entries therefore name no author, except those of security advisories, whose fixes have no pull request. AGENTS.md, the contribution and release docs, the pull request template and the skills describe the entries, and CHANGELOG.md gets an empty `[Unreleased]` section. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: sebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
heurtematte
temporarily deployed
to
pull-request-preview
December 2, 2026 10:48 — with
GitHub Actions
Inactive
Contributor
|
📖 The documentation of this pull request is previewed at https://csi.eclipse.dev/otterdog-website-preview/pr-preview/pr-979/ Built from e85d7b3 by this run, updated by every new commit (GitHub Pages may take a minute to publish it). The preview is removed when the pull request is closed. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The review reports no active issues with the changelog and release-workflow updates.
No open issues 🎉
What changed in this PR
Moves user-facing changelog entries into individual pull requests and updates Otterdog’s release workflow and contributor guidance.
Changes:
- Requires changelog entries for user-visible changes, including migration guidance for breaking changes.
- Documents release preparation, tagging, and publication checks.
- Enables generated GitHub release notes, with dependency updates grouped separately.
| File | Description |
|---|---|
docs/developing_otterdog/release_process.md |
Rewrites the release procedure into five steps. |
docs/developing_otterdog/contribution_workflow.md |
Adds changelog and PR-title guidance. |
docs/developing_otterdog/ai_agents.md |
Updates the agent-guidance overview. |
CHANGELOG.md |
Adds an introduction and empty Unreleased section. |
AGENTS.md |
Defines contributor-wide changelog rules. |
.github/workflows/publish.yml |
Enables generated release notes. |
.github/release.yml |
Groups dependency updates separately. |
.github/pull_request_template.md |
Adds a changelog checklist item. |
.agents/skills/pr-description/SKILL.md |
Aligns PR descriptions with changelog requirements. |
.agents/skills/otterdog-operation/SKILL.md |
Requires changelog entries for operation changes. |
.agents/skills/github-resource-type/SKILL.md |
Adds changelog and migration requirements. |
.agents/skills/github-config-property/SKILL.md |
Adds changelog requirements for setting changes. |
.agents/skills/adversarial-review/SKILL.md |
Adds changelog checks to review guidance. |
Review effort: Balanced
The release commit can no longer be pushed to main directly: main changes through pull requests, which committers can merge without a review. `make release-pr VERSION=X.Y.Z` checks the version and the `[Unreleased]` section of main, commits the renamed section in a temporary worktree, pushes it to `release/vX.Y.Z` and opens its pull request. Once it is merged, `make release-tag VERSION=X.Y.Z` pushes the signed tag on the commit that the pull request added to main, so the tag cannot land on another commit. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: sebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
heurtematte
temporarily deployed
to
pull-request-preview
December 2, 2026 11:17 — with
GitHub Actions
Inactive
SonarCloud reported a command argument injection in release.py. It was not exploitable: the version was checked against a regular expression, and `git remote get-url` rejected a remote that looks like an option. The version is now rebuilt from its numbers, without leading zeros, and the remote must be one of the remotes of the checkout. Each exception test now calls a single function. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: sebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
heurtematte
temporarily deployed
to
pull-request-preview
December 2, 2026 11:26 — with
GitHub Actions
Inactive
…tion Fixes from the review of the release tooling: - The released versions are the tags of the remote. A local tag, e.g. one of a fork, no longer blocks a release, and a version released on the remote only is refused. - Both pushes use --no-follow-tags. With push.followTags, git also pushed the local annotated tags of the history, and a v* tag publishes a release. - A pull request opened before a release and merged after it puts its entry under the released version without a conflict. release-tag now refuses when the section of the version changed on main after the release commit. release-pr refuses when entries were added to the last released section after its tag. - The release pull request is squash-merged, so it lands as one commit. Contributors check their entry after updating their branch. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: sebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Description
The change is in how pull requests document their changes and how a release is made.
Each pull request carries its changelog entry. A pull request with a change visible to users now adds its own
entry under
## [Unreleased]ofCHANGELOG.md. No change has to collect the changelog at release time anymore: the release commit only renames[Unreleased]to[X.Y.Z] - DD/MM/YYYYand opens a new empty[Unreleased], then the tag is created.AGENTS.mdgets a "Changelog" section.docs/developing_otterdog/contribution_workflow.mdgives contributors the same rules in "Update the changelog",and asks for a pull request title in the format of a conventional commit subject.
docs/developing_otterdog/release_process.mdis rewritten in five steps:It warns that the tag must point to the release commit, and that a tag can be neither moved nor deleted.
The GitHub release keeps the full list of pull requests. The changelog no longer contains a pasted copy of the
list of pull requests that GitHub generates. To keep the authors, the new contributors and the dependency updates
in the release,
publish.ymlsetsgenerate_release_notes: true:softprops/action-gh-release(v3.0.4, pinned)appends the list that GitHub generates to the notes of the version extracted from
CHANGELOG.md. The new.github/release.ymlgroups the Dependabot pull requests (labeldependencies) apart.Type of change
Tests
tests/configuration of the release workflow.
Manual testing
Checklist
docs/, reference docs for new/changed settings,make docsbuilds)defaults changed.
CHANGELOG.mdentry added under## [Unreleased]: not applicable. This is an internal change (releaseworkflow, documentation, agent instructions); the diff only adds the introduction and the empty
[Unreleased]section.