mirror of
https://github.com/google/magika.git
synced 2026-03-27 16:21:20 +00:00
35 lines
741 B
YAML
35 lines
741 B
YAML
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
|