Skip to content

ci: stop checking the changelog of a release - #336

Merged
ogorzalka merged 1 commit into
developfrom
feature/changelog-check-skips-releases
Sep 28, 2026
Merged

ogorzalka merged 1 commit into
developfrom
feature/changelog-check-skips-releases

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

"Validate Changelog" required a non-empty [Unreleased] on every pull request to main. 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 --admin on top of the approval.

The job now skips pull requests from develop and release/*; a hotfix/* (or any other branch) to main is still checked.

The if parses (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.

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
ogorzalka force-pushed the feature/changelog-check-skips-releases branch from 72453e4 to 71d9c8f Compare September 28, 2026 08:44
@ogorzalka
ogorzalka merged commit 12143ff into develop Sep 28, 2026
20 checks passed
@ogorzalka
ogorzalka deleted the feature/changelog-check-skips-releases branch September 28, 2026 08:52
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