From 19975506103bd6ba788d5ca1ccd6499bd5e3df25 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. (cherry picked from commit 1219b0e816d972b0470afc5eb219b34c6ae39f6c) (cherry picked from commit 72cb20049e488937be41022dd7294c73c113c1ed) (cherry picked from commit 69dd7dac899926ad41bd50eb638359bae398f77c) (cherry picked from commit 77ec86e0a95a4d25026270b08c35195f9cb77170) --- .github/workflows/linter.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index cabe58d41b5..8757f124a2a 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -79,3 +79,8 @@ jobs: - name: Run clang-tidy run: mkosi box -- meson test -C build --suite=clang-tidy --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