Skip to content

MOPS-113: a failed freeze stops publishing, and every pull request can get the status - #9

Merged
kiliantyler merged 1 commit into
mainfrom
docs/release-freeze-gating
Nov 18, 2026
Merged

kiliantyler merged 1 commit into
mainfrom
docs/release-freeze-gating

Conversation

@kiliantyler

Copy link
Copy Markdown
Contributor

Two gaps Codex found when github-scheduler adopted release-freeze (github-scheduler #47). Both are in the contract's wording and example, not the action's logic.

  • A failed freeze must stop the release. The example's publishing job did not need the freeze job, so a release whose freeze failed or timed out would still publish, with workflow-changing pull requests free to merge. Publishing jobs now need freeze.
  • Forks and Dependabot. A pull_request run from a fork or from Dependabot gets a read-only token and cannot post a status. With release-freeze required, those pull requests would be blocked for good. The pull request side is now its own small workflow on pull_request_target, which has a write token. It checks out nothing and the action only reads the file list through the API, so no pull request code runs with that token; the example says to keep it that way.

node --test is unchanged and passes.

… status through pull_request_target

Two gaps review found when the scheduler adopted the freeze: a release whose freeze job failed still published,
and a fork's or Dependabot's pull_request run has a read-only token, so it could never post the status and
would be blocked for good once the status is required.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T09:11:32.918471Z 312982a PR opened
🔒 Security Review ✅ Completed 2026-11-18T09:13:30.040359Z 312982a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@kiliantyler
kiliantyler merged commit 20b180b into main Nov 18, 2026
1 check passed
@kiliantyler
kiliantyler deleted the docs/release-freeze-gating branch November 18, 2026 09:10
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