mirror of
https://github.com/curl/curl.git
synced 2026-05-18 07:36:24 +03:00
CI: codespell
The list of words to ignore is in the file .github/scripts/codespell-ignore.txt Closes #12390
This commit is contained in:
parent
0510e8b58c
commit
481755955b
2 changed files with 51 additions and 0 deletions
15
.github/scripts/codespell-ignore.txt
vendored
Normal file
15
.github/scripts/codespell-ignore.txt
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
#
|
||||
# SPDX-License-Identifier: curl
|
||||
clen
|
||||
te
|
||||
wont
|
||||
statics
|
||||
nome
|
||||
wast
|
||||
numer
|
||||
anull
|
||||
inout
|
||||
msdos
|
||||
ba
|
||||
fo
|
||||
36
.github/workflows/codespell.yml
vendored
Normal file
36
.github/workflows/codespell.yml
vendored
Normal file
|
|
@ -0,0 +1,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@v3
|
||||
|
||||
- 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue