]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Improvements and updates to misspell-fixer.
authorMatt Schatz <genius3000@g3k.solutions>
Sun, 7 Feb 2021 05:46:35 +0000 (22:46 -0700)
committerMatt Schatz <genius3000@g3k.solutions>
Sun, 7 Feb 2021 06:11:01 +0000 (23:11 -0700)
- Update to v3 of the create-pull-request action.
- Improve the whitelist for directive.pm 'atleast'.
- Whitelist 'eiter' in source and header files.

.github/workflows/misspell-fixer.yml

index 07994558b2ebc10f2aac435ba53b318ab9ab084d..97a2193cb29fc81bac298a22dbe00d09157d04ab 100644 (file)
@@ -20,8 +20,9 @@ jobs:
         ^./.github/workflows
         ^./.mailmap
         ^./vendor
         ^./.github/workflows
         ^./.mailmap
         ^./vendor
-        ^./make/directive.pm:281:atleast
+        ^./make/directive.pm:.*:atleast
         ^./src/modules/m_disable.cpp:119:existant
         ^./src/modules/m_disable.cpp:119:existant
+        ^.*\.\(cpp\|h\).*eiter$
         ALLTIME$
         alltime$
         Alltime$\
         ALLTIME$
         alltime$
         Alltime$\
@@ -29,7 +30,7 @@ jobs:
     - uses: sobolevn/misspell-fixer-action@master
       with:
         options: '-rvnfuRVD .'
     - uses: sobolevn/misspell-fixer-action@master
       with:
         options: '-rvnfuRVD .'
-    - uses: peter-evans/create-pull-request@v2.4.4
+    - uses: peter-evans/create-pull-request@v3
       with:
         token: ${{ secrets.GITHUB_TOKEN }}
         branch: ${{ env.REF_BRANCH }}+fix-spellings-${{ env.DATE }}
       with:
         token: ${{ secrets.GITHUB_TOKEN }}
         branch: ${{ env.REF_BRANCH }}+fix-spellings-${{ env.DATE }}