mirror of
https://github.com/Cacti/documentation.git
synced 2026-10-24 03:57:01 +09:00
* ci: lock spelling dependencies and disable checkout credentials Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * ci: install spelling dependencies from wheels only Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * ci: quote the spelling install command and add target branch Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
27 lines
582 B
YAML
27 lines
582 B
YAML
name: Spelling
|
|
|
|
on:
|
|
push:
|
|
branches: [develop]
|
|
pull_request:
|
|
branches: [develop]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
codespell:
|
|
timeout-minutes: 15
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Install codespell
|
|
run: "python3 -m pip install --only-binary :all: --require-hashes -r .github/codespell-requirements.txt"
|
|
|
|
- name: Run codespell
|
|
run: codespell --config .codespell.cfg
|