👷 add misspell-fixer step

This commit is contained in:
Niels Lohmann 2021-11-04 19:28:43 +01:00
parent 5c08a52fd6
commit d17d5c4beb
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -101,3 +101,13 @@ jobs:
run: cmake -S . -B build -DJSON_CI=On
- name: build
run: cmake --build build --target ci_test_${{ matrix.compiler }}_cxx${{ matrix.standard }}
# https://github.com/sobolevn/misspell-fixer-action
detect_and_fix_misspells:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: sobolevn/misspell-fixer-action@master
- uses: peter-evans/create-pull-request@v2.4.4
with:
token: ${{ secrets.GITHUB_TOKEN }}