Skip to content

Commit

Permalink
chore: precommit hook update (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragos-cojocari authored and j-luong committed Sep 19, 2023
1 parent a6a004e commit f07e8e3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version: 2.1

orbs:
prodsec: snyk/[email protected]

jobs:
test:
docker:
Expand Down Expand Up @@ -128,6 +131,11 @@ workflows:
version: 2
build_and_test:
jobs:
- prodsec/secrets-scan:
name: Scan repository for secrets
context:
- snyk-bot-slack
channel: hammerhead-alerts
- test
- deploy_dev:
requires:
Expand Down
1 change: 1 addition & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# add false positives here
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.17.0
hooks:
- id: gitleaks

0 comments on commit f07e8e3

Please sign in to comment.