From eb9f60fefcfee602ff58cba7a985b652a0cc54d0 Mon Sep 17 00:00:00 2001 From: Peter Burns Date: Mon, 6 Dec 2021 09:31:24 -0500 Subject: [PATCH] Add pre-commit hook for validating configuration --- .pre-commit-hooks.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 000000000..7aeda5c04 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,6 @@ +--- +- id: config-validate + name: Validate CircleCI config + entry: circleci config validate --skip-update-check + language: golang + files: .circleci/config.yml