Skip to content

Commit 162cebc

Browse files
committed
chore: add secrets scanning
1 parent 4da9317 commit 162cebc

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repos:
2+
- repo: https://github.com/gitleaks/gitleaks
3+
rev: v8.16.2
4+
hooks:
5+
- id: gitleaks

0 commit comments

Comments
 (0)