Skip to content

feat: Add required field on combined status responses - #4586

Open
jasonmcintosh wants to merge 2 commits into
google:masterfrom
jasonmcintosh:featAddRequiredFieldOnCombinedStatusResponses
Open

jasonmcintosh wants to merge 2 commits into
google:masterfrom
jasonmcintosh:featAddRequiredFieldOnCombinedStatusResponses

Conversation

@jasonmcintosh

Copy link
Copy Markdown

This enables on status checks the ability to filter the list of status's to those that are REQUIRED to pass or not, allowing one to merge for example if all required checks pass, and others are not passed. The field is documented on github api's and ONLY on the CombinedStatus response types.

image

https://docs.github.com/en/rest/commits/statuses?apiVersion=2022-11-28#get-the-combined-status-for-a-specific-reference

With out this, you can't tell whether a status check is easily with the SDK without querying the required APIs which requires more administrative level access.

…. This enables determining whether a checks on a PR are required without needing to check branch protection rules.
@gmlewis gmlewis changed the title feat(status): Feat add required field on combined status responses feat: Add required field on combined status responses Sep 21, 2026
@gmlewis

gmlewis commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

Please run step 4 of CONTRIBUTING.md and push the changes to this PR.

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.

2 participants