File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11blank_issues_enabled : false
22contact_links :
33 - name : 讨论区
4- url : https://github.com/${REPO_OWNER}/${REPO_NAME} /discussions
4+ url : https://github.com/SoulGateKey/nonebot-plugin-onebot2tg /discussions
55 about : 使用中若遇到问题,请先在这里求助。
Original file line number Diff line number Diff line change 33on :
44 push :
55 branches :
6- - master
6+ - main
77 pull_request :
88 paths :
99 - " src/**"
2424 runs-on : ubuntu-latest
2525 steps :
2626 - uses : actions/checkout@v6
27- - uses : crate-ci/typos@master
27+ - uses : crate-ci/typos@main
2828
2929 basedpyright :
3030 name : BasedPyright
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Release Drafter
33on :
44 push :
55 branches :
6- - master
6+ - main
77 pull_request :
88 types : [opened, reopened, synchronize]
99
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ default_install_hook_types: [pre-commit]
22ci :
33 autofix_prs : true
44 autofix_commit_msg : " chore: auto fix by pre-commit hooks"
5- autoupdate_branch : master
5+ autoupdate_branch : main
66 autoupdate_schedule : monthly
77 autoupdate_commit_msg : " chore: auto update pre-commit hooks"
88repos :
Original file line number Diff line number Diff line change 99[ ![ uv] ( https://img.shields.io/badge/package%20manager-uv-black?style=flat-square&logo=uv )] ( https://github.com/astral-sh/uv )
1010<br />
1111[ ![ ruff] ( https://img.shields.io/badge/code%20style-ruff-black?style=flat-square&logo=ruff )] ( https://github.com/astral-sh/ruff )
12- [ ![ pre-commit] ( https://results.pre-commit.ci/badge/github/SoulGateKey/nonebot-plugin-onebot2tg/master .svg )] ( https://results.pre-commit.ci/latest/github/SoulGateKey/nonebot-plugin-onebot2tg/master )
12+ [ ![ pre-commit] ( https://results.pre-commit.ci/badge/github/SoulGateKey/nonebot-plugin-onebot2tg/main .svg )] ( https://results.pre-commit.ci/latest/github/SoulGateKey/nonebot-plugin-onebot2tg/main )
1313</div >
1414
1515 OneBot V11 与 Telegram 消息转发插件
5454<summary >uv</summary >
5555
5656 uv add nonebot-plugin-onebot2tg
57- 安装仓库 master 分支
57+ 安装仓库 main 分支
5858
59- uv add git+https://github.com/SoulGateKey/nonebot-plugin-onebot2tg@master
59+ uv add git+https://github.com/SoulGateKey/nonebot-plugin-onebot2tg@main
6060</details >
6161
6262<details >
6363<summary >pdm</summary >
6464
6565 pdm add nonebot-plugin-onebot2tg
66- 安装仓库 master 分支
66+ 安装仓库 main 分支
6767
68- pdm add git+https://github.com/SoulGateKey/nonebot-plugin-onebot2tg@master
68+ pdm add git+https://github.com/SoulGateKey/nonebot-plugin-onebot2tg@main
6969</details >
7070<details >
7171<summary >poetry</summary >
7272
7373 poetry add nonebot-plugin-onebot2tg
74- 安装仓库 master 分支
74+ 安装仓库 main 分支
7575
76- poetry add git+https://github.com/SoulGateKey/nonebot-plugin-onebot2tg@master
76+ poetry add git+https://github.com/SoulGateKey/nonebot-plugin-onebot2tg@main
7777</details >
7878
7979打开 nonebot2 项目根目录下的 ` pyproject.toml ` 文件, 在 ` [tool.nonebot] ` 部分追加写入
You can’t perform that action at this time.
0 commit comments