Skip to content

Commit 59ec881

Browse files
committed
refs #34817 - Rollout gitleaks
1 parent 9730cad commit 59ec881

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/sec-gitleaks.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)