Re: Protect master branch

2023-03-05 Thread Elliotte Rusty Harold
Thanks. PR sent: https://github.com/apache/maven/pull/1035 On Sun, Mar 5, 2023 at 7:12 AM tison wrote: > > Hi Elliotte, > > Which repository would you like to add such protection to? With ASF INFRA > settings you can check in a .asf.yaml file to control the rule. > > See > https://cwiki.apache.o

Re: Protect master branch

2023-03-04 Thread tison
Hi Elliotte, Which repository would you like to add such protection to? With ASF INFRA settings you can check in a .asf.yaml file to control the rule. See https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features#Git.asf.yamlfeatures-Branchprotection Best, tison. Christoph Läu

Re: Protect master branch

2023-03-04 Thread Christoph Läubrich
If you don't want to rely on branch protection you can do the following: git remote add fork git remote set-url --push origin no_push Am 05.03.23 um 00:55 schrieb Elliotte Rusty Harold: Could a repo owner please protect the master branch on github, at least for the core project? I ac

Protect master branch

2023-03-04 Thread Elliotte Rusty Harold
Could a repo owner please protect the master branch on github, at least for the core project? I accidentally pushed a change to master without review or test because I thought I was working on a branch and I wasn't. Cleaned up now, I think, but it shouldn't have been possible for me to do this. --