Skip to content

Check markdown

Check markdown #29

# Check that there is correct markdown in all files
name: Check markdown
# Check spelling on the 21st day of the month.
# 21st as the first letter of this repo is the 21st letter in the alphabet.
on:
push:
branches:
- '*'
- '!main'
pull_request:
branches:
- '*'
- '!main'
schedule:
- cron: "0 0 21 * *"
jobs:
check_markdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Remove folders that should not have a Markdown style check
run: |
rm -rf evaluations
rm -rf shared_documents
- uses: articulate/actions-markdownlint@v1
with:
config: .markdownlint.jsonc
ignore: .markdownlintignore