23 lines
677 B
YAML
23 lines
677 B
YAML
name: Spell Check
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
codespell:
|
|
name: Check spelling
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
run: |
|
|
git clone --depth 1 https://token:${{ secrets.ACTIONS_TOKEN }}@gugulet.hu/technical/git/g_it/site.git .
|
|
|
|
- name: Install codespell
|
|
run: |
|
|
apt-get update && apt-get install -y python3-pip
|
|
pip install codespell
|
|
|
|
- name: Run codespell
|
|
run: codespell --ignore-words-list=gugulet,forgejo,myword '**/*.md'
|