Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

skip spellcheck for vendorized files

Damian Legawiec83324d74ea60
diff --git a/.github/workflows/spelling_lint.yml b/.github/workflows/spelling_lint.yml
index 427bc111b4..820ab2a277 100644
--- a/.github/workflows/spelling_lint.yml
+++ b/.github/workflows/spelling_lint.yml
@@ -22,7 +22,7 @@ jobs:
pip install codespell
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Check spelling with codespell
- run: codespell --ignore-words=codespell.txt || exit 0
+ run: codespell --ignore-words=codespell.txt --skip="./vendor/*,**/vendor/*" || exit 0
misspell:
name: Check spelling all files in commit with misspell
runs-on: ubuntu-latest
@@ -31,4 +31,4 @@ jobs:
- name: Install
run: wget -O - -q https://git.io/misspell | sh -s -- -b .
- name: Misspell
- run: git ls-files --empty-directory | xargs ./misspell -i 'aircrafts,devels,invertions' -error
+ run: git ls-files --empty-directory | grep -v "vendor/" | xargs ./misspell -i 'aircrafts,devels,invertions' -error