24 lines
597 B
YAML
24 lines
597 B
YAML
name: Spell Checking
|
|
on:
|
|
pull_request_target:
|
|
push:
|
|
branches:
|
|
- "**"
|
|
tags-ignore:
|
|
- "**"
|
|
jobs:
|
|
Spell-Checking:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout-merge
|
|
if: "contains(github.event_name, 'pull_request')"
|
|
uses: actions/checkout@v2
|
|
with:
|
|
ref: refs/pull/${{github.event.pull_request.number}}/merge
|
|
- name: checkout
|
|
if: ${{ github.event_name == 'push' }}
|
|
uses: actions/checkout@v2
|
|
- uses: check-spelling/check-spelling@v0.0.19
|
|
id: spelling
|
|
with:
|
|
shortest_word: 2 |