]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA: minor improvements to spellcheck
authorandy5995 <arch_stanton5995@protonmail.com>
Tue, 28 Feb 2023 07:57:00 +0000 (01:57 -0600)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 8 Mar 2023 23:16:04 +0000 (00:16 +0100)
Closes #10640

.github/workflows/spellcheck.yml

index f46fbe01bcfdd6c5ecd75677129527c12f131162..65a7da10c5b7ce83f15a40a4f302bd766ed33b3b 100644 (file)
@@ -11,7 +11,9 @@ on:
     - '**.md'
     - '**.3'
     - '**.1'
-    - '.github/**'
+    - '**/spellcheck.yml'
+    - '**/spellcheck.yaml'
+    - '**/wordlist.txt'
   pull_request:
     branches:
     - master
@@ -19,7 +21,9 @@ on:
     - '**.md'
     - '**.3'
     - '**.1'
-    - '.github/**'
+    - '**/spellcheck.yml'
+    - '**/spellcheck.yaml'
+    - '**/wordlist.txt'
 
 permissions: {}
 
@@ -44,8 +48,7 @@ jobs:
     - name: setup the custom wordlist
       run: grep -v '^#' .github/scripts/spellcheck.words >  wordlist.txt
 
-    - name: setup the spellcheck config
-      run: cp .github/scripts/spellcheck.yaml .
-
     - name: Check Spelling
-      uses: UnicornGlobal/spellcheck-github-actions@master
+      uses: rojopolis/spellcheck-github-actions@v0
+      with:
+        config_path: .github/scripts/spellcheck.yaml