PowerToys/.github/workflows/spelling.yml

25 lines
616 B
YAML
Raw Normal View History

2020-05-21 11:19:08 +08:00
name: Spell checking
on:
pull_request_target:
2020-05-21 11:19:08 +08:00
push:
jobs:
build:
name: Spell checking
runs-on: ubuntu-latest
steps:
- name: checkout-merge
if: "contains(github.event_name, 'pull_request')"
uses: actions/checkout@v2.0.0
2020-05-21 11:19:08 +08:00
with:
ref: refs/pull/${{github.event.pull_request.number}}/merge
2020-05-21 11:19:08 +08:00
fetch-depth: 5
- name: checkout
if: "!contains(github.event_name, 'pull_request')"
uses: actions/checkout@v2.0.0
with:
fetch-depth: 5
- uses: check-spelling/check-spelling@0.0.17-alpha
with:
config: .github/actions/spell-check