-
Notifications
You must be signed in to change notification settings - Fork 759
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
v3.1.0 github_branch_protection does not apply required_status_checks when set to false #572
Comments
basically we have templates which is where read this as json and |
I am also seeing this. There is a permadiff for the
|
Thanks for reporting and confirming this behaviour. The switch over from the REST implementation to the GraphQL implementation for this resource has been problematic on various fronts. A revert is being discussed, but it seems the feature of having a wildcard pattern is very much wanted by the community. Will keep this issue in mind as we discuss next steps on making it less buggy. |
Any news or actions to be taken on this? It's so annoying this issue. Also happens when we try to add an App as
In this case for the v4.0.1 so I guess the error is being propagated throw versions. I can solve the problem if I add contexts with strict. But if I don't add contexts, it fails with strict as well. |
The issue is the GraphQL API returns @guillermotti app support hasn't been added - that's easy enough. |
I've looked at this for too long to trust my judgment that it indeed works in all cases: https://github.com/terraform-providers/terraform-provider-github/pull/614 |
Adding Apps as actor types in branch protection push restrictions: https://github.com/terraform-providers/terraform-provider-github/pull/615 |
Terraform Version
v0.13.3
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
Terraform should have updated the statefile with the required_status_checks attribute set to false.
Actual Behavior
Terraform does not update the statefile so tf plan or tf apply show required_status_checks add on each run.
The text was updated successfully, but these errors were encountered: