Strict status checks setting not being properly reported by GraphQL API #59471
Unanswered
terrabitz
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
When making calls against the v4 API, the
requiresStrictStatusChecks
property (repository.branchProtectionRules.edges.node.requiresStrictStatusChecks
) is always being reported astrue
regardless of whether the setting is actually toggled or not.The following example uses the repository
terrabitz/QuackTest
. Themaster
branch as strict status checks enabled, while thedevelop
branch does not.Example v4 API query:
Results:
The v3 API correctly indicates that the strict status checks are enabled for
master
but not fordevelop
Beta Was this translation helpful? Give feedback.
All reactions