2022-01-30 15:39:30 +01:00
|
|
|
name: cspell
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-12-16 08:32:50 +01:00
|
|
|
branches-ignore:
|
|
|
|
- "dependabot/**"
|
2022-01-30 15:39:30 +01:00
|
|
|
pull_request:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
env:
|
|
|
|
FORCE_COLOR: 2
|
|
|
|
|
2022-12-16 08:20:12 +01:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2022-01-30 15:39:30 +01:00
|
|
|
jobs:
|
|
|
|
cspell:
|
2022-12-16 08:20:12 +01:00
|
|
|
permissions:
|
|
|
|
# allow streetsidesoftware/cspell-action to fetch files for commits and PRs
|
|
|
|
contents: read
|
|
|
|
pull-requests: read
|
2022-01-30 15:39:30 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Clone repository
|
2022-03-02 15:51:46 +01:00
|
|
|
uses: actions/checkout@v3
|
2022-11-09 08:21:55 +01:00
|
|
|
with:
|
|
|
|
persist-credentials: false
|
2022-01-30 15:39:30 +01:00
|
|
|
|
|
|
|
- name: Run cspell
|
2022-05-31 16:52:57 +02:00
|
|
|
uses: streetsidesoftware/cspell-action@v2
|
2022-01-30 15:39:30 +01:00
|
|
|
with:
|
|
|
|
config: ".cspell.json"
|
|
|
|
files: "**/*.md"
|
|
|
|
inline: error
|
|
|
|
incremental_files_only: false
|