mirror of https://github.com/Lissy93/dashy.git
💚 Dont run on auto-submitted branches
This commit is contained in:
parent
d5d525acd0
commit
de49b5bb81
|
@ -1,4 +1,4 @@
|
||||||
# Finds typos in the English language file, and submits a PR with fixes
|
# Finds typos in the English language within the app, submits a PR with fixes
|
||||||
name: Auto-Fix Spelling
|
name: Auto-Fix Spelling
|
||||||
on:
|
on:
|
||||||
- push
|
- push
|
||||||
|
@ -6,13 +6,19 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout
|
||||||
- uses: sobolevn/misspell-fixer-action@master
|
if: startsWith(github.head_ref, 'AUTO/') == false
|
||||||
- uses: peter-evans/create-pull-request@v3.10.1
|
uses: actions/checkout@v2
|
||||||
|
- name: Spell Check
|
||||||
|
if: startsWith(github.head_ref, 'AUTO/') == false
|
||||||
|
uses: sobolevn/misspell-fixer-action@master
|
||||||
|
- name: Create PR
|
||||||
|
uses: peter-evans/create-pull-request@v3.10.1
|
||||||
|
if: startsWith(github.head_ref, 'AUTO/') == false
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.BOT_GITHUB_TOKEN }}
|
token: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||||
commit-message: ':pencil2: Auto-fix typos in translations file'
|
commit-message: ':pencil2: Auto-fix typos in text'
|
||||||
title: '[AUTO] Fix spelling in language file'
|
title: '[AUTO] Fix spelling and language'
|
||||||
branch: 'AUTO/spelling-corrections'
|
branch: 'AUTO/spelling-corrections'
|
||||||
committer: 'Liss-Bot <alicia-gh-bot@mail.as93.net>'
|
committer: 'Liss-Bot <alicia-gh-bot@mail.as93.net>'
|
||||||
assignees: Lissy93
|
assignees: Lissy93
|
||||||
|
|
Loading…
Reference in New Issue