6d7723e3be
Updates check-spelling to 0.0.19 https://github.com/check-spelling/check-spelling/security/advisories/GHSA-g86g-chm8-7r2p I'm pinning `actions/checkout` to @v2 instead of micromanaging the version. We have reasonable faith that GitHub will do a good job of maintaining their version branch. I'll probably introduce a version branch for check-spelling in the near future as well. The job name change is for future bits -- I originally copied the name from a template and didn't understand its significance -- eventually it'll actually be used by the workflow. And if one uses `act`, having distinct / well named jobs is actually useful.
21 lines
611 B
YAML
21 lines
611 B
YAML
# spelling.yml is blocked per https://github.com/check-spelling/check-spelling/security/advisories/GHSA-g86g-chm8-7r2p
|
|
name: Spell checking
|
|
on:
|
|
pull_request_target:
|
|
push:
|
|
|
|
jobs:
|
|
spelling:
|
|
name: 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: "!contains(github.event_name, 'pull_request')"
|
|
uses: actions/checkout@v2
|
|
- uses: check-spelling/check-spelling@v0.0.19
|