Skip to content

Update gitleaks.yml #14

Update gitleaks.yml

Update gitleaks.yml #14

Workflow file for this run

name: Gitleaks - Scanning Secrets in PR
on:
push:
branches:
- 'main'
- 'master'
pull_request:
types:
- synchronize
- opened
branches:
- 'main'
- 'master'
jobs:
scan:
name: Gitleaks Secret Scanning
runs-on: ubuntu-latest
steps:
- name: User Rerusable Code
uses: DevSecOps-AppSec/reusable-workflows/.github/workflows/gitLeaks_reusable_worflow.yml@main
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} # GITHUB_TOKEN is provided automatically by GitHub
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}