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
It seems the root of the issue might be GHES API or the provider's abstraction not picking up on delete_branch_on_merge. I can see the PATCH call from the debug log, and then on the subsequent read of the repository created, delete_branch_on_merge is not returned, thus it seems the provider assumes it is false
The warning is fairly clear about the value changing and producing an inconsistent plan.
I did verify on the GHES repo side - the option isn't changed. If I set it manually, it assumes it's false, whether I specify false or not; if it's true it assumes false, attempts to set it to true and still reads (assumes) false
Terraform Version
0.13.0
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
terraform_apply-2020-54-26T01:54:56.log
Panic Output
N/A
Expected Behavior
Repository sets HEAD branch deletion after successful merge
Actual Behavior
Change not applied, persistently says that it needs to change
delete_branch_on_merge
settingSteps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform apply
Important Factoids
Running GitHub Enterprise Server 2.20.8
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: