From 80320b673d8c11767eb091fc78397e73c5e11fcb Mon Sep 17 00:00:00 2001 From: Edward <127073932+edwardTianY@users.noreply.github.com> Date: Mon, 17 Apr 2023 01:10:25 -0700 Subject: [PATCH] add the config for the detecting of private-key in process of git precommit (#3847) Co-authored-by: Edward Tian --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000..efa8f87eb2 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,6 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: detect-private-key + - id: detect-aws-credentials