28 lines
702 B
YAML
28 lines
702 B
YAML
---
|
|
name: Codespell
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
codespell:
|
|
name: Check for spelling errors
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Codespell
|
|
uses: codespell-project/actions-codespell@v2
|
|
with:
|
|
check_filenames: true
|
|
# When using this Action in other repos, the --skip option below can be removed
|
|
skip: "*.excalidraw,*.git,*.png,*.jpg,*.svg,go.mod,go.sum"
|
|
continue-on-error: true # The PR checks will not fail, but the possible spelling issues will still be reported for review and correction
|
|
|