git - GitHub Enterprise: enforce code freeze during release? -


here, use github enterprise. have issue people accidentally merging prs during code freeze windows, interferes our in-house release tool. nice if find way prevent this.

what i'm trying do, find way disable big green merge button on each repo belonging our organisation within github while our release tool running, , reenable afterwards. ideally, scripted, since have control on our release tool.

how might accomplished?

there numerous ways this; in end, went changing permissions (read/write/admin) on (team, repository) combinations via rest api.

that's not webhooks, enabling/disabling branch restrictions, or pre-merge not work, however.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -