[ci,codespell] add workflow running codespell

This commit is contained in:
akallabeth
2024-11-21 09:59:46 +01:00
parent 91380a60b9
commit 6e7feb8080
4 changed files with 63 additions and 1 deletions

26
.github/workflows/codespell.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: codespell
on:
workflow_dispatch:
branches: [ master, stable* ]
pull_request:
branches: [ master, stable* ]
schedule:
- cron: '30 4 * * SUN'
jobs:
build:
runs-on: ubuntu-latest
name: "codespell"
steps:
- name: "Check out source"
uses: actions/checkout@v4
- name: "Prepare environment"
run: |
sudo apt-get update -q -y
sudo apt-get install -q -y \
codespell
- name: "Run codespell..."
run: |
./scripts/codespell.sh