However, we are also addressing another issue, and that is to remove references to medic-release-testing and use cht-release-testing (to avoid 301s)
In order to try to reduce the downtime as much as possible without needing to do a lot of extra work, these are the steps to do to update the default branch name.
[x] Have this pull request reviewed and approved
[x] Once approved, but before merging it, change the default branch name to main and remove master (manually, via GH). This could cause processes like CI to break for a short time since they could be referencing master.
[x] Merge the pull request. As the main branch is now being referenced, and the branch started to exist since the previous step, any broken steps/CI should be fixed after this.
This pull request is part of the changes for ticket https://github.com/medic/cht-core/issues/6574. With this, we are addressing the changes needed for the https://github.com/medic/cht-release-testing repo.
However, we are also addressing another issue, and that is to remove references to medic-release-testing and use cht-release-testing (to avoid 301s)
In order to try to reduce the downtime as much as possible without needing to do a lot of extra work, these are the steps to do to update the default branch name.