Skip to content

Commit 6a8eb7a

Browse files
chore: precommit hook update (#159)
1 parent b5e5574 commit 6a8eb7a

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.circleci/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: 2.1
22

3+
orbs:
4+
prodsec: snyk/[email protected]
5+
36
jobs:
47
test:
58
docker:
@@ -128,6 +131,11 @@ workflows:
128131
version: 2
129132
build_and_test:
130133
jobs:
134+
- prodsec/secrets-scan:
135+
name: Scan repository for secrets
136+
context:
137+
- snyk-bot-slack
138+
channel: hammerhead-alerts
131139
- test
132140
- deploy_dev:
133141
requires:

.gitleaksignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# add false positives here

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/gitleaks/gitleaks
5+
rev: v8.17.0
6+
hooks:
7+
- id: gitleaks

0 commit comments

Comments
 (0)