From 2fbeae499294f7c442fa92a364ec03b449905862 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Mon, 31 Jul 2023 10:37:52 +0100 Subject: [PATCH] updated with precommit check Signed-off-by: Mark Bolwell --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ff9449..e98e2a1 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,8 @@ uses: - ansible-core 2.12 - ansible collections - pulls in the latest version based on requirements file -- runs the audit using the devel branch +- Runs the audit using the devel branch +- Runs the pre-commit setup on the PR to ensure everything is in place as expected. - This is an automated test that occurs on pull requests into devel ## Local Testing @@ -183,3 +184,8 @@ uses: - ansible-core 2.15.1 - python 3.11 makefile - this is there purely for testing and initial setup purposes. +pre-commit can be tested with + +```sh +pre-commit run -c .precommit/.precommit-commit-config.yaml +```