Skip to content

Commit 07e6a13

Browse files
Merge pull request #3 from Probely/chore/secrets-scanning
chore: add secrets scanning
2 parents 82f13f7 + b8d8ef1 commit 07e6a13

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed
+13
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

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2c42edda7ccdd54505b1913ca261a9c75d5387cd:docker/nginx/Dockerfile:generic-api-key:7

.pre-commit-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repos:
2+
- repo: https://github.com/gitleaks/gitleaks
3+
rev: v8.24.2
4+
hooks:
5+
- id: gitleaks

0 commit comments

Comments
 (0)