Skip to content

Docs - Check documentation #448

Docs - Check documentation

Docs - Check documentation #448

Workflow file for this run

name: Docs - Check documentation
on:
workflow_dispatch:
push:
branches:
- "main"
pull_request:
paths:
- "*.md"
- "assets/**/*.md"
- "docs/**/*.md"
- "js/**/*.md"
- "python/**/*.md"
- "rust/**/*.md"
- "website-ng/**/*.md"
schedule:
- cron: "42 7 * * 4" # Run weekly
permissions:
contents: read
jobs:
run-check-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # pin@v4
- name: Install uv
run: curl -LsSf https://astral.sh/uv/0.5.22/install.sh | sh
- name: "Run check_documentation.py script"
working-directory: python
run: uv run ./scripts/check_documentation.py
- name: Make sure install.sh is downloadable
run: curl -LsSf https://securityresearch.google/magika/install.sh > /dev/null
- name: Make sure install.ps1 is downloadable
run: curl -LsSf https://securityresearch.google/magika/install.ps1 > /dev/null