2021-09-09 21:53:54 +03:00
|
|
|
# Finds typos in the English language within the app, submits a PR with fixes
|
2021-09-12 23:45:41 +03:00
|
|
|
name: 🌈 Spelling Auto-Fix
|
2021-09-08 22:12:11 +03:00
|
|
|
on:
|
2021-09-09 22:17:19 +03:00
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
types: [opened]
|
|
|
|
workflow_dispatch:
|
2021-09-08 22:12:11 +03:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-09-09 21:53:54 +03:00
|
|
|
- name: Checkout
|
|
|
|
if: startsWith(github.head_ref, 'AUTO/') == false
|
|
|
|
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
|
2021-09-08 22:12:11 +03:00
|
|
|
with:
|
2021-11-10 21:37:14 +03:00
|
|
|
token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
2021-09-09 22:17:19 +03:00
|
|
|
base: master
|
2021-09-09 21:53:54 +03:00
|
|
|
commit-message: ':pencil2: Auto-fix typos in text'
|
|
|
|
title: '[AUTO] Fix spelling and language'
|
2021-09-09 21:21:14 +03:00
|
|
|
branch: 'AUTO/spelling-corrections'
|
2021-09-09 21:24:08 +03:00
|
|
|
committer: 'Liss-Bot <alicia-gh-bot@mail.as93.net>'
|
2021-09-09 21:13:34 +03:00
|
|
|
assignees: Lissy93
|
|
|
|
reviewers: Lissy93
|