- pull
master
and push tomain
- update the default branch in GitHub settings (under "branches")
- copy the branch protection settings (manually) from master to main
- update automation to look at
main
instead ofmaster
and make a PR- also fix any links -- look for
github.com/taskcluster/$REPO/
- also fix any links -- look for
- change community-tc-config if necessary
- delete branch protection for master, push a new history-free commit there with a README (something like https://github.com/taskcluster/taskcluster/commit/5d2ef402861dee513bdf94c704dcbf6bad12bce3)
- re-enable branch protection for master, require linear commits, and include administrators
- for any open PRs, click "edit" and change the base branch to
main
pushing a history-free commit (do this after pushing the existing latest commit to main!):
mkdir tmp
cd tmp
git init
vi README.md
git add README.md
git commit -am "moved to main"
git push -f [email protected]:taskcluster/$REPO master:master