Skip to content

Commit

Permalink
🐞 fix(Spell check): Handle files with spaces (#147)
Browse files Browse the repository at this point in the history
* 🐞 fix(Spell check): Handle files with spaces

* 🐞 fix(Spell check): Upgrade to github-scripts@v7

* 🐞 fix(Spell check): add: assignees

---------

Co-authored-by: rahul <[email protected]>
  • Loading branch information
raxhvl and raxhvl authored Apr 4, 2024
1 parent 169910f commit 7112f3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
id: find_typos
run: |
echo "Checking for typos..."
# https://unix.stackexchange.com/a/9500
IFS=$'\n'
set -f
for file in $(find . -name "*.md" ); do
output="$(aspell --lang=en_US --mode=markdown --home-dir=. --personal=wordlist.txt --ignore-case=true --camel-case list <$file)"
echo "$output"
Expand Down Expand Up @@ -76,7 +79,7 @@ jobs:
- Use backticks to quote code variables so as to not bloat the \`wordlist\`.
`;
github.issues.createComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down
1 change: 1 addition & 0 deletions wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ary
ASE
Assche
Assertoor
assignees
autoplay
Bankless
Barnabe
Expand Down

0 comments on commit 7112f3b

Please sign in to comment.