Skip to content

Commit 79c6662

Browse files
authored
release 0.59.0 (#323)
* Preparing release 0.59.0 * Minor changes applied after doing some manual testing. * More secure approach and all manual tests pass * Corrected release date
1 parent 0912409 commit 79c6662

5 files changed

Lines changed: 32 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log for spellcheck-github-actions
22

3+
## 0.59.0, 2026-03-02, feature release, update recommended
4+
5+
- Improvements have been added to the docker entrypoint, based on a PR from @akohout-hai which fixes an issue with handling of spaces in files names and directories, see PR [#322](https://github.com/rojopolis/spellcheck-github-actions/pull/322) for details. This is his first contribution to the project and I want to thank him for his contribution, which is highly appreciated.
6+
7+
- Docker based image updated to Python 3.14.3 slim trixie via PR [#320](https://github.com/rojopolis/spellcheck-github-actions/pull/320) from Dependabot.
8+
39
## 0.58.0, 2026-01-20, security release, update not required
410

511
- A minor security issue in the dependency: pymdown-extensions, which is used by the core component PySpelling

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
steps:
111111
# The checkout step
112112
- uses: actions/checkout@v3
113-
- uses: rojopolis/spellcheck-github-actions@0.58.0
113+
- uses: rojopolis/spellcheck-github-actions@0.59.0
114114
name: Spellcheck
115115
```
116116
@@ -208,7 +208,7 @@ jobs:
208208
steps:
209209
# The checkout step
210210
- uses: actions/checkout@v3
211-
- uses: rojopolis/spellcheck-github-actions@0.58.0
211+
- uses: rojopolis/spellcheck-github-actions@0.59.0
212212
name: Spellcheck
213213
with:
214214
source_files: README.md CHANGELOG.md notes/Notes.md
@@ -236,7 +236,7 @@ jobs:
236236
steps:
237237
# The checkout step
238238
- uses: actions/checkout@v3
239-
- uses: rojopolis/spellcheck-github-actions@0.58.0
239+
- uses: rojopolis/spellcheck-github-actions@0.59.0
240240
name: Spellcheck
241241
with:
242242
source_files: README.md CHANGELOG.md notes/Notes.md
@@ -334,7 +334,7 @@ jobs:
334334
runs-on: ubuntu-latest
335335
steps:
336336
- uses: actions/checkout@v3
337-
- uses: rojopolis/spellcheck-github-actions@0.58.0
337+
- uses: rojopolis/spellcheck-github-actions@0.59.0
338338
name: Spellcheck
339339
with:
340340
config_path: config/.spellcheck.yml # put path to configuration file here
@@ -465,7 +465,7 @@ See the documentation for [PySpelling](https://facelessuser.github.io/pyspelling
465465
The action can be specified to use `hunspell` instead of `aspell` by setting the `spellchecker` parameter to `hunspell`.
466466

467467
```yaml
468-
- uses: rojopolis/spellcheck-github-actions@0.58.0
468+
- uses: rojopolis/spellcheck-github-actions@0.59.0
469469
name: Spellcheck
470470
with:
471471
task_name: Markdown
@@ -571,7 +571,7 @@ jobs:
571571
runs-on: ubuntu-latest
572572
steps:
573573
- uses: actions/checkout@v3
574-
- uses: rojopolis/spellcheck-github-actions@0.58.0
574+
- uses: rojopolis/spellcheck-github-actions@0.59.0
575575
name: Spellcheck
576576
with:
577577
config_path: .github/spellcheck.yml
@@ -602,7 +602,7 @@ jobs:
602602
runs-on: ubuntu-latest
603603
steps:
604604
- uses: actions/checkout@v3
605-
- uses: rojopolis/spellcheck-github-actions@0.58.0
605+
- uses: rojopolis/spellcheck-github-actions@0.59.0
606606
name: Spellcheck
607607
with:
608608
config_path: .github/spellcheck.yml # <--- put path to configuration file here
@@ -843,7 +843,7 @@ jobs:
843843
runs-on: ubuntu-latest
844844
steps:
845845
- uses: actions/checkout@v3
846-
- uses: rojopolis/spellcheck-github-actions@0.58.0
846+
- uses: rojopolis/spellcheck-github-actions@0.59.0
847847
name: Spellcheck
848848
```
849849

@@ -992,6 +992,7 @@ Here follows a list of contributors in alphabetical order:
992992

993993
- @aSemy
994994
- Albert Volkman, @albertvolkman
995+
- Andreas Kohout, @akohout-hai
995996
- Byron Miller, @supernovae
996997
- Isaac Muse, @facelessuser
997998
- Jonas Brømsø, @jonasbn

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ branding:
3333
icon: type
3434
runs:
3535
using: docker
36-
image: 'docker://jonasbn/github-action-spellcheck:0.58.0'
36+
image: 'docker://jonasbn/github-action-spellcheck:0.59.0'

entrypoint.sh

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ else
115115
fi
116116

117117
if [ -n "$INPUT_TASK_NAME" ]; then
118-
TASK_NAME="--name $INPUT_TASK_NAME"
118+
echo "INPUT_TASK_NAME set to: >$INPUT_TASK_NAME<, using this as task name for pyspelling via --name parameter"
119+
TASK_NAME="$INPUT_TASK_NAME"
119120
fi
120121

121122
SPELL_CHECKER='aspell'
@@ -142,9 +143,12 @@ if [ -n "$INPUT_SKIP_DICT_COMPILE" ]; then
142143
fi
143144
fi
144145

145-
COMMAND="pyspelling --verbose"
146+
COMMAND=("pyspelling" "--verbose")
146147
if [ "$SKIP_DICT_COMPILE" = "false" ]; then
147-
COMMAND="$COMMAND --skip-dict-compile"
148+
COMMAND+=("--skip-dict-compile")
149+
fi
150+
if [ -n "$TASK_NAME" ]; then
151+
COMMAND+=("--name" "$TASK_NAME")
148152
fi
149153

150154
EXITCODE=0
@@ -154,16 +158,16 @@ EXITCODE=0
154158
# source and name are included in the parameters used
155159

156160
if [ -n "$INPUT_OUTPUT_FILE" ] && [ "${#SOURCES_LIST[@]}" -gt 0 ]; then
157-
$COMMAND --config "$SPELLCHECK_CONFIG_FILE" --spellchecker "$SPELL_CHECKER" "$TASK_NAME" "${SOURCES_LIST[@]}" | tee "$INPUT_OUTPUT_FILE"
161+
"${COMMAND[@]}" --config "$SPELLCHECK_CONFIG_FILE" --spellchecker "$SPELL_CHECKER" "${SOURCES_LIST[@]}" | tee "$INPUT_OUTPUT_FILE"
158162
EXITCODE=${PIPESTATUS[0]}
159163
elif [ -n "$INPUT_OUTPUT_FILE" ]; then
160-
$COMMAND --config "$SPELLCHECK_CONFIG_FILE" --spellchecker "$SPELL_CHECKER" "$TASK_NAME" | tee "$INPUT_OUTPUT_FILE"
164+
"${COMMAND[@]}" --config "$SPELLCHECK_CONFIG_FILE" --spellchecker "$SPELL_CHECKER" | tee "$INPUT_OUTPUT_FILE"
161165
EXITCODE=${PIPESTATUS[0]}
162166
elif [ "${#SOURCES_LIST[@]}" -gt 0 ]; then
163-
$COMMAND --config "$SPELLCHECK_CONFIG_FILE" --spellchecker "$SPELL_CHECKER" "$TASK_NAME" "${SOURCES_LIST[@]}"
167+
"${COMMAND[@]}" --config "$SPELLCHECK_CONFIG_FILE" --spellchecker "$SPELL_CHECKER" "${SOURCES_LIST[@]}"
164168
EXITCODE=$?
165169
elif [ -z "$INPUT_SOURCE_FILES" ]; then
166-
$COMMAND --config "$SPELLCHECK_CONFIG_FILE" --spellchecker "$SPELL_CHECKER" "$TASK_NAME"
170+
"${COMMAND[@]}" --config "$SPELLCHECK_CONFIG_FILE" --spellchecker "$SPELL_CHECKER"
167171
EXITCODE=$?
168172
else
169173
echo "No files to check, exiting"

wordlist.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
Andreas
12
Arithmatex
23
BetterEm
34
Brømsø
@@ -18,6 +19,7 @@ Hobert
1819
InlineHilite
1920
Isengo
2021
José
22+
Kohout
2123
Lasica
2224
Lhomme
2325
Macdonald
@@ -59,6 +61,7 @@ XSS
5961
YAML
6062
aSemy
6163
aicore
64+
akohout
6265
albertvolkman
6366
backrefs
6467
beautifulsoup
@@ -76,12 +79,14 @@ dev
7679
edumco
7780
electrocucaracha
7881
endoflife
82+
entrypoint
7983
facelessuser
8084
faq
8185
funkill
8286
gcattan
8387
github
8488
gmail
89+
hai
8590
hamilton
8691
html
8792
https

0 commit comments

Comments
 (0)