terraform-github-repository icon indicating copy to clipboard operation
terraform-github-repository copied to clipboard

Support for Always suggest updating pull request branches

Open dmilcevski opened this issue 3 years ago • 4 comments

Hi,

Is there a support for "Always suggest updating pull request branches"?

Screen Shot 2022-10-04 at 11 37 45

If not, is there a timeline for this to be supported?

Thanks!

dmilcevski avatar Oct 04 '22 09:10 dmilcevski

Hi @dmilcevski,

Thanks for reaching out! Unfortunately, this is not yet supported by the provider. There's an opened request to implement this feature in https://github.com/integrations/terraform-provider-github/issues/1072. We will add support for this module once it has been added to the provider.

Again, thanks for reaching out and for requesting this!

soerenmartius avatar Oct 25 '22 21:10 soerenmartius

added in https://github.com/integrations/terraform-provider-github/releases/tag/v5.7.0 but as this breaks branch protections v3, we can not yet update until branch protections v3 are fixed upstream: https://github.com/integrations/terraform-provider-github/issues/1307

mariux avatar Nov 06 '22 16:11 mariux

Your mentioned fix in the GitHub Provider was merged. So it is possible to implement this now :-)

0x46616c6b avatar Jan 31 '23 14:01 0x46616c6b

Created PR #155 that adds possibility to set allow_update_branch to true.

tobiasehlert avatar Apr 28 '23 11:04 tobiasehlert