Skip to content

Merge pull request #439 from daree-dev/feat/349-e2e-public-verification #192

Merge pull request #439 from daree-dev/feat/349-e2e-public-verification

Merge pull request #439 from daree-dev/feat/349-e2e-public-verification #192

Workflow file for this run

name: Secret Scanning with Gitleaks
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
gitleaks:
name: Scan for Secrets
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all branches and tags
- name: Run Gitleaks
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }} # Optional: for Gitleaks Pro
- name: Upload Gitleaks Report
if: failure()
uses: actions/upload-artifact@v4
with:
name: gitleaks-report
path: gitleaks-report.json
retention-days: 30