Skip to content

Commit f297b3f

Browse files
chore(ci): add gitleaks in pre-commit hooks as an extra safety measure (aws-powertools#2677)
Co-authored-by: Heitor Lessa <[email protected]>
1 parent 3f24985 commit f297b3f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/dependabot.yml

+5
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,8 @@ updates:
7171
directory: /layer/scripts/layer-balancer
7272
schedule:
7373
interval: daily
74+
75+
- package-ecosystem: pip
76+
directory: /docs
77+
schedule:
78+
interval: daily

.pre-commit-config.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,7 @@ repos:
4646
- id: terraform_fmt
4747
args:
4848
- --args=-recursive
49+
- repo: https://github.com/gitleaks/gitleaks
50+
rev: "7804d652c0460f0b61ea9bb2c1f202bfcdbbf144" # v8.16.3
51+
hooks:
52+
- id: gitleaks

0 commit comments

Comments
 (0)