Skip to content

Commit 4d69436

Browse files
committed
Move scripts folder
1 parent 3224f02 commit 4d69436

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

scripts/spellcheck.sh renamed to .github/scripts/spellcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ done
1919
if [ ! "$sources_arg" ]; then
2020
echo "No files to spellcheck"
2121
else
22-
pyspelling -c scripts/spellcheck_conf/spellcheck.yaml --name Markdown $sources_arg
22+
pyspelling -c .github/scripts/spellcheck_conf/spellcheck.yaml --name Markdown $sources_arg
2323
fi

scripts/spellcheck_conf/spellcheck.yaml renamed to .github/scripts/spellcheck_conf/spellcheck.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ matrix:
55
d: en_US
66
dictionary:
77
wordlists:
8-
- scripts/spellcheck_conf/wordlist.txt
9-
output: scripts/spellcheck_conf/wordlist.dic
8+
- .github/scripts/spellcheck_conf/wordlist.txt
9+
output: .github/scripts/spellcheck_conf/wordlist.dic
1010
encoding: utf-8
1111
pipeline:
1212
- pyspelling.filters.context:

.github/workflows/spellcheck.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: gaurav-nelson/[email protected]
2121
with:
2222
use-verbose-mode: 'yes'
23-
config-file: "scripts/markdown_link_check_config.json"
23+
config-file: ".github/scripts/markdown_link_check_config.json"
2424

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

0 commit comments

Comments
 (0)