15m44l 工单第二批: GitHub issue 双向同步(OAuth逐次授权+建issue/评论+Webhook回推, 防循环前缀)

This commit is contained in:
ypsdf1
2026-11-25 12:16:37 +08:00
parent 834752f791
commit 16360d4b8d
8 changed files with 560 additions and 15 deletions
+9 -8
View File
@@ -2,20 +2,21 @@
"模式": {
"type": "",
"说明": [
"1. type留空→走图床",
"2. 填GitHub→走GitHub issue(本期未启用)"
"1. type留空→走图床(EasyImages2.0)",
"2. 填GitHub→走GitHub issue(工单同步 caoyuanwiki 仓库)"
]
},
"repo": {
"url": "https://github.com/username/reponame",
"Client ID": "12345",
"Client secrets": "12345",
"url": "https://github.com/ypsdf1/caoyuanwiki",
"Client ID": "Ov23li8Zk7KtdcDKEyXh",
"Client secrets": "6381a52aada20839bee8e9d31c156b56417e6fa5",
"type": {
"public": true,
"private": false,
"备注": "仓库类型2选1,同时双开默认public"
}
},
"webhook_secret": "4V8gi9h^&^47",
"图像/附件支持": {
"附件支持": true,
"最大图片数量": 3,
@@ -32,12 +33,12 @@
]
},
"api": {
"baseurl": "https://example.com/",
"key": "example",
"baseurl": "https://img.ypshidifu.cn/",
"key": "95895d65c850dd85b02180e2daabcd43",
"说明": [
"1. key和API地址都要填",
"2. 如果附件支持为true但api没配置自动退回false",
"3. 记得在EasyImages2.0后台-图床安全里,开启API上传"
]
}
}
}