We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbec612 commit 12d8b3dCopy full SHA for 12d8b3d
.github/workflows/secret-scan.yml
@@ -1,14 +1,23 @@
1
-name: gitleaks
2
-on: [pull_request, push, workflow_dispatch]
+name: GitLeaks Security Scan
+
3
+on:
4
+ push:
5
+ branches: [ '*' ]
6
+ pull_request:
7
8
9
jobs:
- scan:
- name: gitleaks
10
+ gitleaks:
11
+ name: Secret Detection
12
runs-on: ubuntu-latest
13
14
steps:
- - uses: actions/checkout@v3
15
+ - name: Checkout code
16
+ uses: actions/checkout@v4
17
with:
18
fetch-depth: 0
- - uses: zricethezav/gitleaks-action@v2.0.0
19
20
+ - name: Run GitLeaks
21
+ uses: gitleaks/gitleaks-action@v2
22
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}
23
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments