tldr-pages / tldr-pages.github.io

🌐 The website for the tldr pages project
http://tldr.sh/
MIT License
76 stars 36 forks source link

Add master to main branch mirror #58

Closed MasterOdin closed 3 years ago

MasterOdin commented 3 years ago

Part of work for https://github.com/tldr-pages/tldr/issues/5110. This adds a new workflow here that mirrors any pushes to master to the main branch. This sets up the mirror from master to main, which will exist for some time to just ensure that the infrastructure is in place so that once main becomes the default branch, this workflow would be reversed and leave master operational giving clients time to migrate while we use main.

Once this is ready to be merged, a main branch should be created, then this PR merged.