From 69dd7dac899926ad41bd50eb638359bae398f77c 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) --- .github/workflows/linter.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 76342bfb78a..73bda1b93ee 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -90,3 +90,8 @@ jobs: CXXFLAGS="-idirafter /usr/include" \ meson setup -Dlibc=musl -Ddbus-interfaces-dir=no musl mkosi box -- ninja -C musl + + - name: Run man-rules checks + run: | + mkosi box -- ninja -C build update-man-rules + git diff --exit-code -- man/rules/meson.build