From 1219b0e816d972b0470afc5eb219b34c6ae39f6c Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sat, 11 Jul 2026 19:47:16 +0100 Subject: [PATCH] ci: check 'update-man-rules' to ensure it is not forgotten We often forget to run this command when updating manpages, and notice only much later. Add a step in the CI to flag it, as we already do for the D-Bus docs. --- .github/workflows/linter.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 6cdb4b41f5..bd145f0ac5 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -87,3 +87,8 @@ jobs: - name: Run coccinelle checks run: mkosi box -- meson test -C build --suite=coccinelle --print-errorlogs --no-stdsplit + + - name: Run man-rules checks + run: | + mkosi box -- ninja -C build update-man-rules + git diff --exit-code -- man/rules/meson.build