aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/codespell.yml
blob: 2b095dae75a708da7d6de842d4d1117156dab80e (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
29
30
31
32
33
34
35
36
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
#
# SPDX-License-Identifier: curl

name: Codespell

on:
  push:
    branches:
      - master
      - '*/ci'
    paths:
      - 'lib/**'
      - 'src/**'
      - 'include/**'
  pull_request:
    branches:
      - master
      - 'lib/**'
      - 'src/**'
      - 'include/**'

jobs:
  codespell:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: install
        run: |
          sudo apt-get update
          sudo apt-get install codespell

      - name: spellcheck
        run: codespell --skip src/tool_hugehelp.c -I .github/scripts/codespell-ignore.txt include src lib