Skip to content

👷 ci: collect required checks - #628

Merged
gaborbernat merged 11 commits into
tox-dev:mainfrom
gaborbernat:release-ci-gate
Oct 18, 2026
Merged

gaborbernat merged 11 commits into
tox-dev:mainfrom
gaborbernat:release-ci-gate

Conversation

@gaborbernat

@gaborbernat gaborbernat commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Platformdirs checks PR news fragments, but the branch has no single CI status that requires both that check and the test matrix. A failed fragment check can therefore be missed by branch protection.

This adds an aggregate status for the test, coverage, and fragment jobs. The fragment job may be skipped only outside PRs or when a maintainer applies skip news; the other jobs must succeed. Release preparation builds the changelog without a write credential; a separate job validates the patch before the repository App commits and tags it. After PyPI publication, the GitHub Release uses the tagged changelog with a PyPI link and comparison to the previous published tag.

The App key and branch and tag rulesets need to be configured before merge. The branch ruleset should require Required checks pass, allow admin and App bypass, and require no review approval. The 88 existing GitHub Releases now use the new note format; four published versions that lacked GitHub Releases were added.

@gaborbernat
gaborbernat requested a review from ofek as a code owner October 18, 2026 07:46
@gaborbernat gaborbernat added the skip news No news fragment needed label Oct 18, 2026
@gaborbernat
gaborbernat merged commit 6f7e3e2 into tox-dev:main Oct 18, 2026
35 checks passed
@gaborbernat
gaborbernat deleted the release-ci-gate branch October 28, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news No news fragment needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant