Skip to content

Commit 365976c

Browse files
committed
feat: Add Gitleaks scan to GitHub Actions workflow
Signed-off-by: Louis Labeyrie <labeyrielouis@gmail.com>
1 parent 7bf2c0b commit 365976c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ name: Test Gradle project
33
on: [push, pull_request]
44

55
jobs:
6+
scan:
7+
name: Gitleaks scan
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
13+
- uses: gitleaks/gitleaks-action@v2
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
616

717
lint-gradle-project:
818
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)