Skip to content

Commit 47dc478

Browse files
committed
chore: add secrets scanning
1 parent bba6d81 commit 47dc478

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

.github/secrets-scanning.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Detect Secrets
2+
on:
3+
pull_request:
4+
push:
5+
workflow_dispatch:
6+
jobs:
7+
secrets-scan:
8+
uses: probely/snyk-prodsec/.github/workflows/secrets-scanning.yml@main
9+
with:
10+
channel: probely-alerts
11+
secrets:
12+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_SECRET }}
13+
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}

.gitleaksignore

Whitespace-only changes.

.pre-commit-config.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
1-
# See https://pre-commit.com for more information
2-
# See https://pre-commit.com/hooks.html for more hooks
31
repos:
4-
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v3.2.0
6-
hooks:
7-
- id: trailing-whitespace
8-
- id: end-of-file-fixer
9-
- id: check-yaml
10-
- id: check-added-large-files
112
- repo: https://github.com/gitleaks/gitleaks
12-
rev: v8.22.0
3+
rev: v8.16.2
134
hooks:
145
- id: gitleaks

0 commit comments

Comments
 (0)