7 if: github.repository == 'inspircd/inspircd'
10 REF_BRANCH: ${{ github.ref }}
12 - uses: actions/checkout@v2
13 - name : Set a couple env variables
15 echo "::set-env name=DATE::$(date +'%Y-%m-%d')"
16 echo "::set-env name=REF_BRANCH::${REF_BRANCH//refs\/heads\//}"
17 - name: Whitelist some directories and files
23 ^./make/directive.pm:287:atleast
24 ^./src/modules/m_disable.cpp:119:existant
28 " > ${{ runner.workspace }}/inspircd/.misspell-fixer.ignore
29 - uses: sobolevn/misspell-fixer-action@master
31 options: '-rvnfuRVD .'
32 - uses: peter-evans/create-pull-request@v2.4.4
34 token: ${{ secrets.GITHUB_TOKEN }}
35 branch: ${{ env.REF_BRANCH }}+fix-spellings-${{ env.DATE }}
36 author: 'InspIRCd Robot <noreply@inspircd.org>'
37 committer: 'InspIRCd Robot <noreply@inspircd.org>'
38 commit-message: 'Fixes by misspell-fixer'
39 title: 'Typos fix by misspell-fixer'
40 reviewers: 'genius3000'