diff options
author | Matt Schatz <genius3000@g3k.solutions> | 2020-04-25 07:52:09 -0600 |
---|---|---|
committer | Matt Schatz <genius3000@g3k.solutions> | 2020-04-25 07:52:09 -0600 |
commit | 88602c694bcdb5aa5d373d17789f0f214b417375 (patch) | |
tree | e0e4dcf9b8a14bd8934dce6c1eddda3bce546ce5 /.github | |
parent | 7a02052130721d83b43a349dc9b0650ad798fc08 (diff) |
Use a nicer branch name in misspell-fixer.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/misspell-fixer.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/misspell-fixer.yml b/.github/workflows/misspell-fixer.yml index ea15316cb..24f8aa137 100644 --- a/.github/workflows/misspell-fixer.yml +++ b/.github/workflows/misspell-fixer.yml @@ -1,12 +1,18 @@ -name: misspell fixer +name: Misspell fixer on: schedule: - cron: '0 0 15 * *' jobs: build: runs-on: ubuntu-latest + env: + REF_BRANCH: ${{ github.ref }} steps: - uses: actions/checkout@v2 + - name : Set a couple env variables + run: | + echo "::set-env name=DATE::$(date +'%Y-%m-%d')" + echo "::set-env name=REF_BRANCH::${REF_BRANCH//refs\/heads\//}" - name: Whitelist some directories and files run: | echo "\ @@ -32,6 +38,7 @@ jobs: - uses: peter-evans/create-pull-request@v2.4.4 with: token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ env.REF_BRANCH }}+fix-spellings-${{ env.DATE }} author: 'InspIRCd Robot <noreply@inspircd.org>' commiter: 'InspIRCd Robot <noreply@inspircd.org>' commit-message: 'Fixes by misspell-fixer' |