Enforce codespell-clean spelling #289
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2023 Sebastian Pipping <sebastian@pipping.org> | |
# Licensed under Apache License Version 2.0 | |
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2.1 | |
with: | |
# "nd" (with lowercase "n") is from ".Nd" (with uppercase "n") in ttyplot.1 | |
# https://github.com/codespell-project/codespell/issues/3233#issuecomment-1828026522 | |
ignore_words_list: nd |