From 76dae63c695c948ee0352aadf86841d7d84e9bef Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Sun, 19 May 2024 11:42:18 +0200 Subject: [PATCH] Check that PRs have correctly ran the sidebar gen --- .gitlab-ci/lint.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci/lint.yml b/.gitlab-ci/lint.yml index 5e4b81abb..2f96fec5f 100644 --- a/.gitlab-ci/lint.yml +++ b/.gitlab-ci/lint.yml @@ -89,6 +89,14 @@ markdownlint: script: - markdownlint $(find . -name '*.md' | grep -vF './.git') --ignore docs/_sidebar.md --ignore contrib/dind/README.md +generate-sidebar: + extends: .job + stage: unit-tests + tags: [light] + script: + - scripts/gen_docs_sidebar.sh + - git diff --exit-code + check-readme-versions: stage: unit-tests tags: [light]