mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Create spell-checker.yml
This commit is contained in:
parent
271a83880f
commit
3a552f5be2
1 changed files with 28 additions and 0 deletions
28
.github/workflows/spell-checker.yml
vendored
Normal file
28
.github/workflows/spell-checker.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
name: Spell Checker
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
# Allow manual triggering, refs https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Perform spell check
|
||||
uses: sobolevn/misspell-fixer-action@0.1.0
|
||||
|
||||
- name: Create a PR for any issues that are identified
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit-message: 'Fixes by misspell-fixer'
|
||||
title: 'Typos fix by misspell-fixer'
|
Loading…
Reference in a new issue