We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9730cad commit 59ec881Copy full SHA for 59ec881
1 file changed
.github/workflows/sec-gitleaks.yml
@@ -0,0 +1,29 @@
1
+# GITLEAKS_LICENSE - Get a free license from https://gitleaks.io/
2
+name: Gitleaks scan
3
+
4
+on:
5
+ workflow_dispatch:
6
+ pull_request:
7
+ push:
8
+ branches:
9
+ - main
10
11
+permissions:
12
+ contents: read
13
+ pull-requests: read
14
15
+jobs:
16
+ scan:
17
+ name: Perform scan
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: Checkout
21
+ uses: actions/checkout@v6
22
+ with:
23
+ fetch-depth: 1
24
25
+ - name: Run Gitleaks
26
+ uses: gitleaks/gitleaks-action@v2
27
+ env:
28
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
+ GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
0 commit comments