Thanks. PR sent: https://github.com/apache/maven/pull/1035
On Sun, Mar 5, 2023 at 7:12 AM tison <wander4...@gmail.com> 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.org/confluence/display/INFRA/Git+-+.asf.yaml+features#Git.asf.yamlfeatures-Branchprotection > > Best, > tison. > > > Christoph Läubrich <m...@laeubi-soft.de> 于2023年3月5日周日 12:46写道: > > > If you don't want to rely on branch protection you can do the following: > > > > > > git remote add fork <your fork url where you want to push> > > 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 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. > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > -- Elliotte Rusty Harold elh...@ibiblio.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org