summaryrefslogtreecommitdiffstats
path: root/.github/workflows/codespell.yml
blob: b89f007a81624a1241907c0c9c6d48ea714f37c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Codespell configuration is within .codespellrc
---
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@v4
      - name: Codespell
        uses: codespell-project/actions-codespell@v2
        with:
          # This is regenerated from commit history
          # we cannot rewrite commit history, and I'd rather not correct it
          # every time
          exclude_file: CHANGELOG.md