Skip to content

Commit bbd19d1

Browse files
committed
CI: add a job running codespell
1 parent fe639b8 commit bbd19d1

3 files changed

Lines changed: 49 additions & 0 deletions

File tree

.codespell-ignorelines

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# SPDX-License-Identifier: FSFAP
2+
# Copyright (C) 2025 Colin B. Macdonald
3+
#
4+
# Copying and distribution of this file, with or without modification,
5+
# are permitted in any medium without royalty provided the copyright
6+
# notice and this notice are preserved. This file is offered as-is,
7+
# without any warranty.
8+
9+
# lines that codespell should ignore: whitespace matters!
10+

.codespell-ignorewords

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# SPDX-License-Identifier: FSFAP
2+
# Copyright (C) 2025 Colin B. Macdonald
3+
#
4+
# Copying and distribution of this file, with or without modification,
5+
# are permitted in any medium without royalty provided the copyright
6+
# notice and this notice are preserved. This file is offered as-is,
7+
# without any warranty.
8+
9+
# words that codespell should not complain about
10+

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# SPDX-License-Identifier: FSFAP
2+
# Copyright (C) 2025 Colin B. Macdonald
3+
#
4+
# Copying and distribution of this file, with or without modification,
5+
# are permitted in any medium without royalty provided the copyright
6+
# notice and this notice are preserved. This file is offered as-is,
7+
# without any warranty.
8+
9+
name: CI
10+
11+
on:
12+
push:
13+
pull_request:
14+
schedule:
15+
- cron: '17 0 * * 0'
16+
# Allows you to run this workflow manually from the Actions tab
17+
workflow_dispatch:
18+
19+
jobs:
20+
codespell:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: codespell-project/actions-codespell@v2
25+
with:
26+
ignore_words_file: .codespell-ignorewords
27+
exclude_file: .codespell-ignorelines
28+
check_filenames: true
29+
check_hidden: true

0 commit comments

Comments
 (0)