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
delete_branch_on_merge isn't set, fails to stay true #536
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
Activity
mengesb commentedon Aug 26, 2020
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_mergeis not returned, thus it seems the provider assumes it isfalseThe 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 specifyfalseor not; if it'strueit assumesfalse, attempts to set it totrueand still reads (assumes)falsemengesb commentedon Aug 26, 2020
I may have my own answer: https://enterprise.github.com/releases/2.21.0/notes
Seems my version is one minor release too soon to have
delete_branch_on_mergeavailable from the API.