From c558fd6a196f387992f80762b5617486ebc528da Mon Sep 17 00:00:00 2001 From: Brad Campbell Date: Fri, 8 Mar 2024 14:13:15 -0500 Subject: [PATCH] makefile: add readme check target for CI This will check if READMEs need to be update to reflect code changes. --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 553b3ee76d..3659f1a484 100644 --- a/Makefile +++ b/Makefile @@ -289,7 +289,8 @@ ci-runner-github:\ ci-runner-github-format:\ ci-job-format\ ci-job-clippy\ - ci-job-markdown-toc + ci-job-markdown-toc\ + ci-job-readme-check $(call banner,CI-Runner: GitHub format runner DONE) .PHONY: ci-runner-github-build @@ -374,6 +375,17 @@ endef ci-job-markdown-toc: ci-setup-markdown-toc $(if $(CI_JOB_MARKDOWN),$(call ci_job_markdown_toc)) +define ci_job_readme_check + $(call banner,CI-Job: README Validation) + tools/check_boards_readme.py + tools/check_capsule_readme.py + tools/check-for-readmes.sh +endef + +.PHONY: ci-job-readme-check +ci-job-readme-check: + $(call ci_job_readme_check) + ### ci-runner-github-build jobs: