From 13a90fca276d8ef3a5cae7226f3c87055c1390a7 Mon Sep 17 00:00:00 2001 From: Iain Cooper Date: Tue, 5 Sep 2023 14:37:14 +0100 Subject: [PATCH] TMI2-253: Add pre-commit check and update .gitignore to include application-local.properties and .env.local --- .gitignore | 4 +++- .pre-commit-config.yaml | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .pre-commit-config.yaml diff --git a/.gitignore b/.gitignore index bd853a23..d520e8c3 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,6 @@ build/ /bin -application-local.properties \ No newline at end of file +### Local properties ### +application-local.properties +.env.local \ No newline at end of file diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..abadc6ca --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: detect-aws-credentials