ci: stop checking the changelog of a release - #336
Merged
Merged
Conversation
Validate Changelog required a non-empty [Unreleased] on every pull request to main. A release from develop has emptied it into the version's section by construction, so the check failed each release. It now skips pull requests from develop and release/*, and still checks hotfixes.
ogorzalka
force-pushed
the
feature/changelog-check-skips-releases
branch
from
September 28, 2026 08:44
72453e4 to
71d9c8f
Compare
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.
"Validate Changelog" required a non-empty
[Unreleased]on every pull request tomain. A release (develop→main, as #334) has emptied it into the version's section by construction, so the check failed every release and the merge needed--adminon top of the approval.The job now skips pull requests from
developandrelease/*; ahotfix/*(or any other branch) tomainis still checked.The
ifparses (yaml.safe_load) to:github.event_name == 'pull_request' && github.base_ref == 'main' && github.head_ref != 'develop' && !startsWith(github.head_ref, 'release/'). It can only be observed on the next release pull request.