diff options
author | Matt Schatz <genius3000@g3k.solutions> | 2020-04-21 00:32:18 -0600 |
---|---|---|
committer | Matt Schatz <genius3000@g3k.solutions> | 2020-04-21 00:32:18 -0600 |
commit | 43d0efaa2195c445ae7cc130d235781506758a9d (patch) | |
tree | 3e291b09053e3c172bee647794d25a1016411021 /.github | |
parent | dff88fe6ee23d740649504145c61c9d70db433e0 (diff) |
Add a workflow that checks for and corrects typos.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/misspell-fixer.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/misspell-fixer.yml b/.github/workflows/misspell-fixer.yml new file mode 100644 index 000000000..ce05bc815 --- /dev/null +++ b/.github/workflows/misspell-fixer.yml @@ -0,0 +1,38 @@ +name: misspell fixer +on: + - push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Whitelist some directories and files + run: | + echo "\ + ^./.github/workflows + ^./.mailmap + ^./vendor + ^./make/directive.pm:287:atleast + ^./src/modules/m_disable.cpp:119:existant + ^./docs/conf/helpop.conf.example:443:ALLTIME + ^./docs/conf/helpop.conf.example:551:ALLTIME + ^./docs/conf/helpop.conf.example:551:alltime + ^./docs/conf/modules.conf.example:170:Alltime + ^./docs/conf/modules.conf.example:171:ALLTIME + ^./docs/conf/modules.conf.example:172:ALLTIME + ^./docs/conf/modules.conf.example:173:alltime + ^./docs/conf/opers.conf.example:58:ALLTIME + ^./src/modules/m_alltime.cpp:31:ALLTIME + ^./src/modules/m_alltime.cpp:65:ALLTIME\ + " > ${{ runner.workspace }}/inspircd/.misspell-fixer.ignore + - uses: sobolevn/misspell-fixer-action@master + with: + options: '-rvnfuRVD .' + - uses: peter-evans/create-pull-request@v2.4.4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + author: 'InspIRCd Robot <noreply@inspircd.org>' + commiter: 'InspIRCd Robot <noreply@inspircd.org>' + commit-message: 'Fixes by misspell-fixer' + title: 'Typos fix by misspell-fixer' + reviewers: 'genius3000' |