Add codespell as a pre-merge test
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 56/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- github-actions, python
- 领域
- ci-cd, documentation
调研方向
Start by reviewing the sample workflow in the issue and the repository’s existing GitHub Actions workflows. Check how documentation files are organized under docs/EN, then determine how the workflow should run codespell on pull requests to master and report typos while allowing merges. Done means the pre-merge check runs and flags spelling issues as described.
由索引模型根据 Issue 内容生成。
描述
I went through a lot of typos in the docs and I'd like to suggest that we have a pre-check github action before the maintainer merges. The check will allow the contributor to fix their typos, thereby getting a cleaner commit in the first go.
My PR shows how things can get over time :)
Here is a sample I whipped up.
name: Codespell Pre-Check
on:
pull_request:
branches: [ master ]
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install codespell
run: pip install codespell
- name: Run codespell
continue-on-error: true # <== Allows merge but flags typos
run: codespell --ignore-words-list="Equil,dependant,Chek,LimiTTer,BU" docs/EN
- 主要语言
- Python
- 星标
- 152
- 派生
- 364
- 平均合并
- 18 小时 59 分钟
- 30 天内合并 PR
- 35
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openaps/AndroidAPSdocs 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 63/100
openaps/AndroidAPSdocs#2667 ·
维护者通常 1 天内回复
-
bug help wanted
难度 3/5 1-2 天 新手友好度 47/100
openaps/AndroidAPSdocs#2449 · 2 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 44/100
openaps/AndroidAPSdocs#1261 · 6 条评论 ·
维护者通常 1 天内回复
查看 openaps/AndroidAPSdocs 的全部 Issue
相似的 Issue
-
area/test type/bug
难度 2/5 1-3 小时 新手友好度 76/100
Clodmony/starship-coop#70 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
punitarani/fli#270 ·
-
🐛 Bug 🔔 Pending processing
难度 2/5 1-3 小时 新手友好度 67/100
jumpserver/jumpserver#17980 ·
维护者通常 1 天内回复
-
community enhancement good first issue
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
namespace
难度 2/5 1-3 小时 新手友好度 60/100
EclipseFdn/open-vsx.org#15341 ·
维护者通常 1 天内回复