mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 01:53:41 +08:00
Use ignore words file with codespell
It is not possible to automatically backport pull requests that makes modifications to workflow files and since the codespell action has a hard-coded list of ignored words as options, this means that any changes to the ignored codespell words cannot be backported. This pull request fixes this by using a ignore words file instead, which means that adding new words does not require changing a workflow file and hence the pull requests can be automatically backported.
This commit is contained in:
parent
8347621016
commit
971e6c370e
4
.github/codespell-ignore-words
vendored
Normal file
4
.github/codespell-ignore-words
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
brin
|
||||
inh
|
||||
larg
|
||||
inout
|
2
.github/workflows/code_style.yaml
vendored
2
.github/workflows/code_style.yaml
vendored
@ -66,7 +66,7 @@ jobs:
|
||||
- name: Run codespell
|
||||
run: |
|
||||
find . -type f \( -name "*.c" -or -name "*.h" -or -name "*.yaml" -or -name "*.sh" \) \
|
||||
-exec codespell -L "brin,inh,larg,inout" {} \+
|
||||
-exec codespell -I .github/codespell-ignore-words {} \+
|
||||
|
||||
cc_checks:
|
||||
name: Check code formatting
|
||||
|
Loading…
x
Reference in New Issue
Block a user