mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-24 01:12:06 +03:00
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
# Finds typos in the English language within the app, submits a PR with fixes
|
|
name: 🌈 Spelling Auto-Fix
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
types: [opened]
|
|
workflow_dispatch:
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- 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
|
|
with:
|
|
token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
|
base: master
|
|
commit-message: ':pencil2: Auto-fix typos in text'
|
|
title: '[AUTO] Fix spelling and language'
|
|
branch: 'AUTO/spelling-corrections'
|
|
committer: 'Liss-Bot <alicia-gh-bot@mail.as93.net>'
|
|
assignees: Lissy93
|
|
reviewers: Lissy93
|