Article : structuration des Règlements d’Urbanisme ou comment donner une seconde vie numérique aux PLU #995
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "✅ Markdown header check" | |
| on: | |
| pull_request: | |
| paths: | |
| - "content/articles/**/*.md" | |
| jobs: | |
| header-check: | |
| name: "👓 Vérification du header markdown de l'article" | |
| runs-on: ubuntu-latest | |
| if: contains(github.event.pull_request.labels.*.name, 'articles') | |
| steps: | |
| - name: "Fetch source code" | |
| uses: actions/checkout@v6 | |
| - name: "Set up Python" | |
| uses: actions/setup-python@v6 | |
| with: | |
| cache: "pip" | |
| python-version: 3.11 | |
| - name: "Install requirements" | |
| run: | | |
| python -m pip install -U pip setuptools wheel | |
| python -m pip install -U -r requirements.txt | |
| - name: "Check markdown headers using CLI" | |
| run: | | |
| geotribu header-check content/articles/202*/*.md --authors-folder content/team -maxw 1000 -v |