Merge pull request #2254 from codespell-project/master
Resync with master
diff --git a/.github/workflows/codespell-private.yml b/.github/workflows/codespell-private.yml
index 6ca080a..8421709 100644
--- a/.github/workflows/codespell-private.yml
+++ b/.github/workflows/codespell-private.yml
@@ -1,7 +1,7 @@
# GitHub Action to check our dictionary, this should only be used by the codespell project itself
# For general usage in your repo, see the example in codespell.yml
# https://github.com/codespell-project/codespell
-name: codespell
+name: codespell Private Actions
on: [push, pull_request]
jobs:
test:
@@ -51,6 +51,19 @@
- uses: codespell-project/sort-problem-matcher@v1
- run: make check-dictionaries
+ make-sort-dictionaries:
+ if: ${{ failure() }}
+ needs: make-check-dictionaries
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - run: make sort-dictionaries
+ - run: git diff -U0 --color=never
+ - uses: getsentry/action-git-diff-suggestions@main
+ name: Suggest how to fix dictionary sorting
+ with:
+ message: 'sort the dictionary'
+
flake8-annotation:
runs-on: ubuntu-latest
steps:
diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt
index e8d795c..39698ec 100644
--- a/codespell_lib/data/dictionary.txt
+++ b/codespell_lib/data/dictionary.txt
@@ -18264,6 +18264,7 @@
jumoed->jumped
jumpimng->jumping
jumpt->jumped, jump,
+juipter->Jupiter
juristiction->jurisdiction
juristictions->jurisdictions
jus->just