Skip to content

Commit

Permalink
Move scripts folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mreso committed May 17, 2024
1 parent 3224f02 commit 4d69436
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/spellcheck.sh → .github/scripts/spellcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ done
if [ ! "$sources_arg" ]; then
echo "No files to spellcheck"
else
pyspelling -c scripts/spellcheck_conf/spellcheck.yaml --name Markdown $sources_arg
pyspelling -c .github/scripts/spellcheck_conf/spellcheck.yaml --name Markdown $sources_arg
fi
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ matrix:
d: en_US
dictionary:
wordlists:
- scripts/spellcheck_conf/wordlist.txt
output: scripts/spellcheck_conf/wordlist.dic
- .github/scripts/spellcheck_conf/wordlist.txt
output: .github/scripts/spellcheck_conf/wordlist.dic
encoding: utf-8
pipeline:
- pyspelling.filters.context:
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: gaurav-nelson/github-action-markdown-link-check@1.0.13
with:
use-verbose-mode: 'yes'
config-file: "scripts/markdown_link_check_config.json"
config-file: ".github/scripts/markdown_link_check_config.json"

- name: Get changed files
id: changed-files
Expand Down Expand Up @@ -56,11 +56,11 @@ jobs:
if [ ! "$sources" ]; then
echo "No files to spellcheck"
else
pyspelling -c $GITHUB_WORKSPACE/scripts/spellcheck_conf/spellcheck.yaml --name Markdown $sources
pyspelling -c $GITHUB_WORKSPACE/.github/scripts/spellcheck_conf/spellcheck.yaml --name Markdown $sources
fi
- name: In the case of misspellings
if: ${{ failure() }}
run: |
echo "Please fix the misspellings. If you are sure about some of them, "
echo "so append those to scripts/spellcheck_conf/wordlist.txt"
echo "so append those to .github/scripts/spellcheck_conf/wordlist.txt"

0 comments on commit 4d69436

Please sign in to comment.