From d17d5c4beb4b17be73d9f748428a064f7b43ddfd Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Thu, 4 Nov 2021 19:28:43 +0100 Subject: [PATCH] :construction_worker: add misspell-fixer step --- .github/workflows/ubuntu.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 13253af05..c97566cf8 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -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 }}