mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-07 23:08:43 +00:00
ci: add secret scanning
This commit is contained in:
14
.github/workflows/python-ci.yml
vendored
14
.github/workflows/python-ci.yml
vendored
@@ -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:
|
||||
|
Reference in New Issue
Block a user