From 12f5fb06e16c348e94beb312039027c2f8763f75 Mon Sep 17 00:00:00 2001 From: Rasic2 <1051987201@qq.com> Date: Sat, 13 Sep 2025 20:59:48 +0800 Subject: [PATCH 1/2] docs: add instruction for omitting scope in oco git configuration --- docs/source/development/git.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/development/git.md b/docs/source/development/git.md index 3afc754..516454e 100644 --- a/docs/source/development/git.md +++ b/docs/source/development/git.md @@ -561,6 +561,7 @@ oco config set OCO_API_KEY=xxx ```bash oco config set OCO_GITPUSH=false # 关闭自动 push oco config set OCO_ONE_LINE_COMMIT=true # 单行 commit + oco config set OCO_OMIT_SCOPE=true # 省略 scope ``` 4. 使用 oco 命令生成 commit From d1eda2e7011e61895d161ebacd5bc9ca01e1a19a Mon Sep 17 00:00:00 2001 From: Rasic2 <1051987201@qq.com> Date: Sat, 13 Sep 2025 21:04:55 +0800 Subject: [PATCH 2/2] fix: correct label mapping by changing 'doc' to 'docs' for consistency --- .github/workflows/pr-auto-label.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-auto-label.yml b/.github/workflows/pr-auto-label.yml index ef741eb..1a7c2de 100644 --- a/.github/workflows/pr-auto-label.yml +++ b/.github/workflows/pr-auto-label.yml @@ -30,7 +30,7 @@ jobs: 'feat': 'feature', 'feature': 'feature', 'improvement': 'enhancement', - 'doc': 'documentation', + 'docs': 'documentation', 'readme': 'documentation', 'chore': 'chore', 'bump': 'dependencies',