File tree Expand file tree Collapse file tree 5 files changed +159
-1
lines changed Expand file tree Collapse file tree 5 files changed +159
-1
lines changed Original file line number Diff line number Diff line change
1
+ open_collective : python-openbmclapi
Original file line number Diff line number Diff line change
1
+ name : " 🐛 报告漏洞"
2
+ description : 上报在使用 python-openbmclapi 时遇到的那些恼人的漏洞。
3
+ labels : ["改进", "漏洞"]
4
+ assignees : tianxiu2b2t, SilianZ
5
+ body :
6
+ - type : markdown
7
+ attributes :
8
+ value : |
9
+ 你是一位 python-openbmclapi 的长期使用者。在一个阳光明媚的早晨 ☀️,你打开了 OpenBMCLAPI 仪表盘,你发现你的一个正在使用 python-openbmclapi 的节点的信用值掉到了 -1800,一怒之下,你打开 GitHub 来到了本仓库,来提交这个问候 python-openbmclapi 的那些开发者全家人的友好 Issue。
10
+ - type : checkboxes
11
+ attributes :
12
+ label : 在开始之前……
13
+ description : 请确认你已做好以下准备。
14
+ options :
15
+ - label : 我已在 [Issue](https://github.com/TTB-Network/python-openbmclapi/issues) 中搜索过我的要上报的漏洞,确定没有人提出过此漏洞。
16
+ required : true
17
+ - label : 我是用的是最新的 [Release 版本](https://github.com/TTB-Network/python-openbmclapi/releases/latest)而不是最新的 [master 分支](https://github.com/TTB-Network/python-openbmclapi/tree/master)。
18
+ required : true
19
+ - type : textarea
20
+ attributes :
21
+ label : 问题描述
22
+ description : 对遇到的漏洞进行清晰的描述。
23
+ placeholder : 我的 trust 被你们干到了 -1800。
24
+ validations :
25
+ required : true
26
+ - type : textarea
27
+ attributes :
28
+ label : 问题重现
29
+ description : 重现问题的步骤。
30
+ placeholder : |
31
+ 1. 我打开了程序。
32
+ 2. 程序开始疯狂报错。
33
+ - type : textarea
34
+ attributes :
35
+ label : 运行环境
36
+ description : 向我们提供你运行时的环境有助于更快地解决问题。
37
+ placeholder : |
38
+ Python 版本:3.12.3。
39
+ 运行系统:Windows 10。
40
+ 分片大小:30G。
41
+ - type : dropdown
42
+ attributes :
43
+ label : 节点类型
44
+ options :
45
+ - 全量
46
+ - 分片
47
+ default : 0
48
+ - type : textarea
49
+ attributes :
50
+ label : 运行日志或截图
51
+ description : |
52
+ “在没有错误日志的情况下诊断任何问题无异于闭眼开车。” —— Apache 文档《Getting Started》
53
+ placeholder : |
54
+ 你可以上传错误日志文件,亦可以在这里粘贴你的错误日志信息。
55
+ render : shell
56
+ - type : textarea
57
+ attributes :
58
+ label : 备注
59
+ description : 任何其他的内容。
60
+ - type : checkboxes
61
+ attributes :
62
+ label : 如果……
63
+ options :
64
+ - label : 如果可以的话,我可以帮助或自行修复这个漏洞。
Original file line number Diff line number Diff line change
1
+ name : " ✨ 功能请求"
2
+ description : 为 python-openbmclapi 提出新的功能。
3
+ labels : ["改进"]
4
+ assignees : SilianZ, tianxiu2b2t, unify-z
5
+ body :
6
+ - type : markdown
7
+ attributes :
8
+ value : |
9
+ 你是一位 python-openbmclapi 的使用者,但是有些功能的缺失使你困扰,你打算提交一个功能请求。
10
+
11
+ - type : checkboxes
12
+ attributes :
13
+ label : 在开始之前……
14
+ description : 请确认你已做好以下准备。
15
+ options :
16
+ - label : 我已在 [Issue](https://github.com/TTB-Network/python-openbmclapi/issues) 中搜索过我的建议,确定没有人提出过此建议。
17
+ required : true
18
+ - type : textarea
19
+ attributes :
20
+ label : 建议描述
21
+ description : 请描述你的建议。
22
+ placeholder : 使用 QQ 远程控制 python-openbmclapi 的行为。
23
+ validations :
24
+ required : true
25
+ - type : textarea
26
+ attributes :
27
+ label : 实现方法
28
+ description : 你认为可以实现的方法。
29
+ placeholder : 使用 aiohttp 对接 nonebot。
30
+ - type : textarea
31
+ attributes :
32
+ label : 备注
33
+ description : 任何其他的内容。
34
+ - type : checkboxes
35
+ attributes :
36
+ label : 如果……
37
+ options :
38
+ - label : 如果可以的话,我可以帮助或自行实现这个功能。
Original file line number Diff line number Diff line change
1
+
2
+ name : Create tagged release
3
+
4
+ on :
5
+ push :
6
+ tags :
7
+ - v*
8
+
9
+ jobs :
10
+ release :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ with :
15
+ fetch-depth : 0
16
+ - name : Set env
17
+ run : |
18
+ echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
19
+ - uses : actions/setup-node@v3
20
+ with :
21
+ node-version : 16.x
22
+ - name : Create release
23
+ run : npx changelogithub-chinese
24
+ env :
25
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
26
+ build :
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - uses : actions/checkout@v4
30
+ - name : Set env
31
+ run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
32
+ - name : Set up Docker Buildx
33
+ uses : docker/setup-buildx-action@v3
34
+ - name : Login to Docker Hub
35
+ uses : docker/login-action@v3
36
+ with :
37
+ username : ${{secrets.HUB_USERNAME}}
38
+ password : ${{secrets.HUB_PASSWORD}}
39
+ - name : Login to Alibaba Cloud Container Registry (ACR)
40
+ uses : docker/login-action@v3
41
+ with :
42
+ username : ${{secrets.CLOUD_USERNAME}}
43
+ password : ${{secrets.CLOUD_PASSWORD}}
44
+ registry : registry.cn-hangzhou.aliyuncs.com
45
+ - name : Build and push
46
+ uses : docker/build-push-action@v5
47
+ with :
48
+ context : .
49
+ push : true
50
+ tags : |
51
+ silianz/python-openbmclapi:latest
52
+ silianz/python-openbmclapi:${{env.RELEASE_VERSION}}
53
+ registry.cn-hangzhou.aliyuncs.com/silianz/python-openbmclapi:latest
54
+ registry.cn-hangzhou.aliyuncs.com/silianz/python-openbmclapi:${{env.RELEASE_VERSION}}
55
+ platforms : linux/amd64, linux/arm64
Original file line number Diff line number Diff line change 1
- 3.0.4
1
+ 3.0.5
You can’t perform that action at this time.
0 commit comments