Skip to content

Commit e182357

Browse files
authored
Merge pull request #1 from cloudwalk/firstcommit
Initial commit
2 parents 80e3331 + 3aa799c commit e182357

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/gitleaks.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Gitleaks Scan
2+
3+
on:
4+
push
5+
6+
permissions:
7+
contents: read
8+
pull-requests: read
9+
10+
jobs:
11+
gitleaks:
12+
name: Run Gitleaks
13+
runs-on: ubuntu-24.04
14+
steps:
15+
- name: Checkout PR code
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
ref: ${{ github.event.pull_request.head.ref }}
20+
repository: ${{ github.event.pull_request.head.repo.full_name }}
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
23+
- name: Run Gitleaks
24+
uses: gitleaks/gitleaks-action@v2
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GHA_PAT }}
27+
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE_PUBLIC }}
28+
GITLEAKS_ENABLE_UPLOAD_ARTIFACT: "false"
29+
GITLEAKS_VERSION: 8.26.0

0 commit comments

Comments
 (0)