Create gitleaks.yml (#884)

This commit is contained in:
Zachary Rice authored and GitHub committed 2022-06-02 17:40:57 -05:00
1 parent 6919447094
commit d51ce47d86
1 file changed
+14
+14
View File
@@ -0,0 +1,14 @@
name: gitleaks
on: [pull_request, push, workflow_dispatch]
jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: zricethezav/gitleaks-action@v2.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}