-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request > New branch protection features support #305
Comments
Now that #342 is merged, this update is now possible. Working on it now. |
actually, we need the latest version v29.0.3 https://github.com/google/go-github/tree/v29.0.3 I'll submit a separate PR to hopefully get that done first. |
Interesting, we're currently using Terraform v0.12.15, so thanks for the heads up. |
@arri-cc are you still working on this? Can I help somehow? |
@yordis Hi! I've been waiting in the wings while @benj-fletch and @martinssipenko sort out a number of issues that were discovered after upgrading to go-github v29.0.2. |
looks like we have go-github v29.0.3 now, i'll revisit this |
Looking forward to #473 😄 |
+1 for I posted a comment here (as there seems to be a few splits for this argument) #473 (comment) |
I'm now seeing I had hoped the |
We are not using |
I think there are probably some orgs stuck on v3 for various reasons, my org is not using it anymore. I think we should support both APIs while github keeps pushing features to it. It does not mean that we have to have 1:1 feature parity though that would be ideal as it makes it easier for folks to migrate when they are ready. |
Any update on this issue ? |
I've just submitted a PR to add this, tested to work locally |
Description
Please add support for the new branch protection features:
required_linear_history
allow_force_pushes
allow_deletions
Terraform Version
Affected Resource(s)
github_branch_protection
Terraform Configuration Files
Debug Output
n/a
Panic Output
n/a
Expected Behavior
New branch protection features are supported
Actual Behavior
New branch protection features are not supported
Steps to Reproduce
n/a
Important Factoids
Currently not supported by go-github client, see references below
References
The text was updated successfully, but these errors were encountered: