Allow multiple push mirrors (#97)

This commit is contained in:
Patrick Stevens
2024-09-22 16:19:46 +01:00
committed by GitHub
parent 0c394a0e69
commit 1662ef7695
6 changed files with 251 additions and 93 deletions

View File

@@ -38,9 +38,11 @@
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
}
"mirrors": [
{
"gitHubAddress": "https://github.com/MyName/repo-name-3"
}
]
}
},
"new-repo-mirrored-with-branches": {
@@ -48,9 +50,11 @@
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
},
"mirrors": [
{
"gitHubAddress": "https://github.com/MyName/repo-name-3"
}
],
"protectedBranches": [
{
"branchName": "main"
@@ -63,9 +67,11 @@
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
},
"mirrors": [
{
"gitHubAddress": "https://github.com/MyName/repo-name-3"
}
],
"protectedBranches": [
{
"branchName": "main",
@@ -83,9 +89,11 @@
"native": {
"defaultBranch": "main",
"private": false,
"mirror": {
"gitHubAddress": "https://github.com/MyName/repo-name-3"
},
"mirrors": [
{
"gitHubAddress": "https://github.com/MyName/repo-name-3"
}
],
"protectedBranches": [
{
"branchName": "main",