mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
chore: move workflow to main
This commit is contained in:
32
.github/workflows/spell-check.yml
vendored
32
.github/workflows/spell-check.yml
vendored
@@ -1,32 +0,0 @@
|
|||||||
name: Spell Check
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches-ignore:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches-ignore:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
spell-check:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install Node.js
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
|
|
||||||
- name: Install CSpell
|
|
||||||
run: npm install -g cspell@latest
|
|
||||||
|
|
||||||
- name: Pull cspell config and dictionary from main
|
|
||||||
run: |
|
|
||||||
git fetch origin main
|
|
||||||
git checkout origin/main -- .github/cspell/
|
|
||||||
|
|
||||||
- name: Check spelling
|
|
||||||
run: npx cspell --no-progress --no-summary --config .github/cspell/cspell.json "**"
|
|
||||||
Reference in New Issue
Block a user