Skip to content

Commit

Permalink
ci: vérification entêtes markdown (#1143)
Browse files Browse the repository at this point in the history
Ajout de la vérification de l'entête markdown

Utilisable en utilisant le `geotribu_cli` v >= 0.34.3
  • Loading branch information
gounux authored Jul 11, 2024
2 parents 58f18b0 + d773f12 commit da12626
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 14 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pr_header_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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@v4

- name: "Set up Python"
uses: actions/setup-python@v5
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
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ license: default
robots: index, follow
tags:
- météo
- télévision
- R
- télévision
---

# Comment j'ai quantifié les inégalités de traitement météorologiques entre Brest et Dijon
Expand Down
2 changes: 1 addition & 1 deletion content/articles/2022/2022-05-24_releve_terrain_qfield.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ image: https://cdn.geotribu.fr/img/articles-blog-rdp/articles/qgis_qfield_synchr
license: cc4_by-sa
tags:
- collecte
- Lizmap
- QField
- QGIS
- Lizmap
---

# Relevé terrain avec QField et solutions de synchronisation (hors QField Cloud)
Expand Down
2 changes: 1 addition & 1 deletion content/articles/2022/2022-05-31_donnees_mapillary.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ tags:
- Bash
- cURL
- data
- OGR
- Mapillary
- MVT
- OGR
- PostGIS
- PostgreSQL
- tuiles vectorielles
Expand Down
6 changes: 3 additions & 3 deletions content/articles/2022/2022-09-30_carte_facon_ed_fairburn.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ date: 2022-09-30
description: Utiliser les modes de fusion pour produire avec QGIS une carte inspirée des dessins d'Ed Fairburn.
image: https://cdn.geotribu.fr/img/articles-blog-rdp/articles/carte_facon_ed_fairburn/carte_facon_ed_fairburn.png
tags:
- QGIS
- carte
- rendu
- mode de fusion
- composeur d'impression
- mode de fusion
- QGIS
- rendu
---

# Faire une carte façon Ed Fairburn avec QGIS
Expand Down
2 changes: 1 addition & 1 deletion content/articles/2022/2022-12-09_mapillary_experience.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ license: default
tags:
- Bash
- data
- OGR
- Mapillary
- OGR
- SQL
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ image: https://cdn.geotribu.fr/img/articles-blog-rdp/articles/2023/retrospective
license: beerware
tags:
- 30DayMapChallenge
- QGIS
- OpenSource
- QGIS
---

# Retour vers le futur du #30DayMapChallenge 2022
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ robots: index, follow
tags:
- OSGeo-fr
- QDT
- QGIS Deployment Toolbelt
- QGIS
- QGIS Deployment Toolbelt
---

# La conférence QGIS FR approche : préparez votre environnement avec QDT !
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ license: beerware
robots: index, follow
tags:
- cartographie
- OpenStreetMap
- Matplotlib
- OpenStreetMap
- prettymapp
- prettymaps
- Python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ tags:
- déploiement
- Docker
- infra
- Q-ops
- QField
- QFieldCloud
- Q-ops
---

# Déploiement et configuration d'un serveur QFieldCloud
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ license: default
robots: index, follow
tags:
- cocarto
- contribution
- collecte
- collecte terrain
- contribution
- smartphone
---

Expand Down
2 changes: 1 addition & 1 deletion content/articles/2024/2024-06-24_lidar_hd_avec_pdal.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ license: beerware
robots: index, follow
tags:
- IGN
- LiDAR
- OGR
- PDAL
- LiDAR
---

# LiDAR HD brut - Distinguer sol et sursol avec pdal
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Development
# -----------------------
geotribu>=0.32,<1
geotribu>=0.34.3,<1
pre-commit>=3,<4

# Project requirements
Expand Down

0 comments on commit da12626

Please sign in to comment.