Skip to content

Use fine grained token for component-owners.yml #7125

Use fine grained token for component-owners.yml

Use fine grained token for component-owners.yml #7125

Workflow file for this run

name: Spelling
on:
pull_request:
jobs:
spelling-check:
name: SPELLING check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: streetsidesoftware/cspell-action@v6
with:
# Files should be consistent with check:spelling files
files: |
content/en/*.md
layouts/**/*.md
data/**/*
config: .cspell.yml
dict-check:
name: CSPELL:IGNORE check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm run fix:dict
- name: Any changed files?
run: |
CHANGES=`git status --porcelain`
if [[ $CHANGES ]]; then
echo "Locally run `npm run fix:dict` and commit the changes:"
echo "$CHANGES"
exit 1
else
echo "All page-local dictionaries are well formatted."
fi