diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2023-11-27 18:05:00 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2023-11-27 18:08:35 +0100 |
commit | 4e4c9a75b1fd4ea42e645d87152fa5028c0d80d1 (patch) | |
tree | d1154d31d6419094601c5e0b41cdc1084cf28589 | |
parent | 45ecfd3673cdbddad3bba434233eff4c2145c07a (diff) | |
download | bindfs-4e4c9a75b1fd4ea42e645d87152fa5028c0d80d1.tar.gz |
Make CI reject spelling errors using codespell
-rw-r--r-- | .github/workflows/codespell.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..8789c12 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,23 @@ +# Copyright (c) 2023 Sebastian Pipping <sebastian@pipping.org> +# Licensed under GPL v2 or later + +name: Enforce codespell-clean spelling + +on: + pull_request: + push: + schedule: + - cron: '0 3 * * 5' # Every Friday at 3am + workflow_dispatch: + +# Minimum permissions for security +permissions: + contents: read + +jobs: + codespell: + name: Enforce codespell-clean spelling + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: codespell-project/actions-codespell@v2.0 |