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
{{ message }}
Repository navigation
Add support to Allow specified actors to bypass pull request requirements #1005
The provider is missing option to "Allow specified actors to bypass pull request requirements" in the branch protection rule settings.
# Settings -> Branches -> <ProtectionRule> -> Protect matching branches:
|X| Require a pull request before merging
|X| Allow specified actors to bypass pull request requirements
<ListOfTeamsOrUsers>
Reacted by Steffen Wagner, Mihaela Lazar, J.R. Mash, Vincent Thiery, Pat Nafarrete, Richard Vaughn, Fernando Duz, Adam Bramley, Chris Harrison, Shamil Kashmeri and 6 more
As soon as the githubv4 package supports this feature, we will be able to add it into this provider. I guess the author of githubv4 must regenerate the code from the latest GitHub GraphQL schema.
Reacted by Steffen Wagner, J.R. Mash, Jeremy Udit, Richard Vaughn, Karl and Shamil Kashmeri
Reacted by Arie Lev, Steffen Wagner, mog, J.R. Mash, Pete Leese, czerasz-mineiros, ethanwllms, Edward Hartwell Goose, Julien Michaud, Ronald and 2 more
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
I'm going to close this issue as pull request bypassers are implemented in the non-v3 resource. @chenshap it's still an outstanding need to add this functionality to the v3 version of the resource, though it's still not available in google/go-github. It is, however, exposed in the REST API. Please feel free to create another issue to track that work if you'd like!
Activity
jtyr commentedon Dec 8, 2021
There is no support for this in the google/go-github package and neither this feature is documented in the official GitHub REST API 😞
majormoses commentedon Dec 11, 2021
It looks like they added support for it in GraphQL API: https://docs.github.com/en/graphql/reference/input-objects#updatebranchprotectionruleinput it looks as if we need to pass
bypassPullRequestActorIdswith an array of ids.jtyr commentedon Dec 14, 2021
As soon as the
githubv4package supports this feature, we will be able to add it into this provider. I guess the author ofgithubv4must regenerate the code from the latest GitHub GraphQL schema.jtv8 commentedon Apr 6, 2022
#1030 is now merged and looks to be available as
pull_request_bypassersin the provider: https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch_protection#required-pull-request-reviews - should this issue be closed now?chenshap commentedon Apr 10, 2022
is it planned to be added to github_branch_protection_v3?
https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch_protection_v3
github-actions commentedon Jan 6, 2023
👋 Hey Friends, this issue has been automatically marked as
stalebecause it has no recent activity. It will be closed if no further activity occurs. Please add theStatus: Pinnedlabel if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!kfcampbell commentedon Jan 6, 2023
I'm going to close this issue as pull request bypassers are implemented in the non-v3 resource. @chenshap it's still an outstanding need to add this functionality to the v3 version of the resource, though it's still not available in google/go-github. It is, however, exposed in the REST API. Please feel free to create another issue to track that work if you'd like!