fix: move changelog update into release workflow [3.x]#118
Merged
ManukMinasyan merged 1 commit into3.xfrom Mar 18, 2026
Merged
Conversation
The standalone changelog.yml triggers on `release: released` events, but releases created by GITHUB_TOKEN don't fire this event (GitHub anti-recursion). Move changelog logic into the release workflow as an inline job that runs after the release is created.
There was a problem hiding this comment.
Pull request overview
This PR folds the changelog update automation into the existing tag-driven release.yml workflow so the changelog is updated even when the release is created using GITHUB_TOKEN (which won’t trigger on: release workflows).
Changes:
- Adds an inline
changelogjob torelease.ymlthat fetches the created release notes and commits an updatedCHANGELOG.mdto the appropriate maintenance branch. - Removes the standalone
changelog.ymlworkflow that relied onon: release.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/release.yml | Adds a changelog job (post-release) to update and commit CHANGELOG.md on the correct <major>.x branch. |
| .github/workflows/changelog.yml | Deletes the redundant on: release workflow that did not fire for releases created by GITHUB_TOKEN. |
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.
Summary
Moves changelog update logic from standalone
changelog.ymlinto therelease.ymlworkflow as an inlinechangelogjob.Why
Releases created by
GITHUB_TOKENdon't triggeron: releaseevents (GitHub anti-recursion rule). The standalonechangelog.ymlnever fires when the Release workflow auto-creates a release. By inlining it, the changelog update runs as part of the same workflow.The deploy key (
DEPLOY_KEY) bypasses the branch ruleset to push directly.