Skip to content

Let Publish be run with common-ci's early release option - #118

Merged
jwrosewell merged 1 commit into
rcfrom
ci/allow-early-release
Nov 13, 2026
Merged

jwrosewell merged 1 commit into
rcfrom
ci/allow-early-release

Conversation

@jwrosewell

@jwrosewell jwrosewell commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Problem

common-ci's Publish refuses a release that comes less than a week after the last one, in its step "Refuse a release less than a week after the last" (nightly-publish.yml at 1c5c0e0b, with steps/check-release-interval.ps1), unless the run sets its allow-early-release input. This repository's publish.yml does not take that input, so a release inside the week could not be published at all once the rule applies.

This repository released on 13 November (#114, Publish run 43378300268). James Rosewell asked at about 17:30 UTC on 13 November for a release of every repository on Monday 16 November, which is his permission for that release to go out early under the weekly rule.

What changed

.github/workflows/publish.yml gains the input allow-early-release, false by default, and passes it to common-ci's nightly-publish.yml, as 51degrees-php's Publish does in its draft #37. Nothing else changes. The nightly's publish is left without it, so a scheduled run never releases early. No option that moves a major or minor version is added.

Checks

  • A Publish dry run of this repository's rc with every Python draft for Monday merged, this one included, was dispatched as gh workflow run publish.yml --ref tmp/pyowner-sim3 -f dryrun=true -f allow-early-release=true (run 43501866018, at 2556107). Its Configure job (job 132149457735) shows the input reaching common-ci as allow-early-release: true and ALLOW_EARLY_RELEASE: true, and the step "Refuse a release less than a week after the last" passed, printing "The weekly release rule is not enforced, as WEEKLY_RELEASES_FROM is not set." So the input is accepted and passed on, and the rule is not yet in force for this repository.
  • Quick checks passed on this head, being run 43501798477 (environment variable names), run 43501799092 (only rc into main) and run 43501798296 (link campaign tags).

This draft changes only a workflow, with no package code. James Rosewell decided at about 11:35 UTC on 12 November, for a change only to CI, "rebuild and include, but the change doesn't impact the code so no need to run the full builds."

What remains

The Monday Publish is dispatched with allow-early-release set to true and dryrun false, once the release has merged into main.

The last release into main was #114, merged at 06:22 UTC on 13 November.

@jwrosewell
jwrosewell marked this pull request as ready for review November 13, 2026 23:05
@jwrosewell
jwrosewell merged commit 37fca5d into rc Nov 13, 2026
3 checks passed
@jwrosewell
jwrosewell deleted the ci/allow-early-release branch November 13, 2026 23:05
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