- Add .gitea/workflows/validate.yaml to run structural checks on every push and pull request.
23 lines
452 B
YAML
23 lines
452 B
YAML
name: Brain Structural Validation
|
|
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
pull_request:
|
|
|
|
jobs:
|
|
validate:
|
|
name: Validate Markdown Structure & Links
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Run Brain Validator
|
|
run: python3 scripts/validate-brain.py
|