1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-15 05:58:27 +00:00

Add sync_on_commit option for push mirrors api (#22271) (#22292)

Backport of #22271
This commit is contained in:
Chongyi Zheng
2022-12-31 06:46:14 -05:00
committed by GitHub
parent 75f128ebf8
commit 443fd27a90
3 changed files with 15 additions and 4 deletions

View File

@@ -14831,6 +14831,10 @@
"remote_username": {
"type": "string",
"x-go-name": "RemoteUsername"
},
"sync_on_commit": {
"type": "boolean",
"x-go-name": "SyncOnCommit"
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
@@ -18011,6 +18015,10 @@
"repo_name": {
"type": "string",
"x-go-name": "RepoName"
},
"sync_on_commit": {
"type": "boolean",
"x-go-name": "SyncOnCommit"
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"