ci: add secret scanning

This commit is contained in:
thePR0M3TH3AN committed 2025-08-03 10:27:13 -04:00
1 parent 59c06041fd
commit 2c44f51fc4
3 files changed
+39

No files matched your search

+14
View File
@@ -9,6 +9,20 @@ on:
- cron: '0 3 * * *'
jobs:
secret-scan:
name: Secret Scan
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' || github.event_name == 'schedule'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run gitleaks
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_CONFIG: .gitleaks.toml
build:
strategy:
matrix: