You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a reusable GitHub Actions check that passes PRs without the release label and fails labeled PRs that are behind their base branch. Repositories can call it for PR updates and base-branch pushes.
Opened PR in material-ui repo, once this is merged, we can merge this. mui/material-ui#49589
Adds a reusable release-branch freshness check for consuming repositories, including the linked Material UI caller. It publishes a required commit status that enforces base-branch freshness for release-labeled PRs.
Changes:
Adds event-based PR selection and serialized, whole-bucket status updates.
Tests freshness checks, shared heads, API failures, pagination, and initialization.
Documents caller setup, deployment order, and branch protection requirements.
File
Description
AGENTS.md
Documents freshness-check conventions and updates the Node.js prerequisite.
On a synchronize event, pull_request.head.sha is already the new head; the previous SHA is in payload.before. If a release PR advances into another bucket, an unlabeled PR sharing its old head can retain the failing required status even though freshness no longer applies. Include payload.before in the selected batches so both affected buckets are refreshed.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The release gate requires validation in an adopting repository with its real GITHUB_TOKEN and required-status rules, because HTTP-level tests cannot establish enforcement guarantees for fork PRs and overlapping PR/base-push runs.
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
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.
Adds a reusable GitHub Actions check that passes PRs without the
releaselabel and fails labeled PRs that are behind their base branch. Repositories can call it for PR updates and base-branch pushes.Opened PR in material-ui repo, once this is merged, we can merge this. mui/material-ui#49589