From e52916daaa455cc338ad01ad541eb6dc81a19a0d Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 11 Sep 2025 11:41:24 +1000 Subject: [PATCH] github/workflows: Add check for misspelling of "MicroPython". "MicroPython" is sometimes misspelled as "Micropython". Add an explicit check for that as part of CI (note that codespell doesn't consider case when spelling, hence the need to do it this way). Signed-off-by: Damien George --- .github/workflows/codespell.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index c413a430a5..e3a9c79bd5 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -10,4 +10,9 @@ jobs: # codespell version should be kept in sync with .pre-commit-config.yml - run: pip install --user codespell==2.4.1 tomli - run: codespell - + # additionally check for misspelling of "MicroPython" + - run: | + if git grep -n Micropython -- ":(exclude).github/workflows/codespell.yml"; then + echo "Please correct capitalisation of MicroPython on the above lines" + exit 1 + fi