]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - .github/workflows/misspell-fixer.yml
Switch the misspell-fixer workflow to a monthly schedule.
[user/henk/code/inspircd.git] / .github / workflows / misspell-fixer.yml
1 name: misspell fixer
2 on:
3   schedule:
4     - cron: '0 0 15 * *'
5 jobs:
6   build:
7     runs-on: ubuntu-latest
8     steps:
9     - uses: actions/checkout@v2
10     - name: Whitelist some directories and files
11       run: |
12         echo "\
13         ^./.github/workflows
14         ^./.mailmap
15         ^./vendor
16         ^./make/directive.pm:287:atleast
17         ^./src/modules/m_disable.cpp:119:existant
18         ^./docs/conf/helpop.conf.example:443:ALLTIME
19         ^./docs/conf/helpop.conf.example:551:ALLTIME
20         ^./docs/conf/helpop.conf.example:551:alltime
21         ^./docs/conf/modules.conf.example:170:Alltime
22         ^./docs/conf/modules.conf.example:171:ALLTIME
23         ^./docs/conf/modules.conf.example:172:ALLTIME
24         ^./docs/conf/modules.conf.example:173:alltime
25         ^./docs/conf/opers.conf.example:58:ALLTIME
26         ^./src/modules/m_alltime.cpp:31:ALLTIME
27         ^./src/modules/m_alltime.cpp:65:ALLTIME\
28         " > ${{ runner.workspace }}/inspircd/.misspell-fixer.ignore
29     - uses: sobolevn/misspell-fixer-action@master
30       with:
31         options: '-rvnfuRVD .'
32     - uses: peter-evans/create-pull-request@v2.4.4
33       with:
34         token: ${{ secrets.GITHUB_TOKEN }}
35         author: 'InspIRCd Robot <noreply@inspircd.org>'
36         commiter: 'InspIRCd Robot <noreply@inspircd.org>'
37         commit-message: 'Fixes by misspell-fixer'
38         title: 'Typos fix by misspell-fixer'
39         reviewers: 'genius3000'