mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
* test: windows * fix: make paths platform-agnostic this change also fixes, or skips, windows failures
16 lines
411 B
YAML
16 lines
411 B
YAML
name: gitleaks
|
|
on: [push, workflow_dispatch]
|
|
jobs:
|
|
scan:
|
|
name: gitleaks
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'gitleaks/gitleaks' }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: gitleaks/gitleaks-action@v2
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}
|