OpenUserJS/OpenUserJS.org

Support github sync main branch

jeiea opened this issue · 1 comments

jeiea commented

Github adopted main as default branch name. But it seems to cause 403 with the openuserjs github webhook sync feature.
How about supporting it?

Ref(s): (might be added to)

Always cite when a change comes through like this.

This topic will be locked as I really don't want a P.C. debate here as it's not the focus of OUJS... however it will be continually considered provided the integrity of the site isn't compromised including all default upstream and downstream observations.

This would be a breaking change.


$ mkdir repotest
$ cd repotest/
$ git init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint:   git branch -m <name>
$ git --version
git version 2.32.0
$ date
Fri 18 Jun 2021 06:48:27 PM EDT

Ref(s):