Skip to content

Commit 0300230

Browse files
author
Адель
committed
ci: make gitleaks scan repository contents
1 parent 448d361 commit 0300230

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/security.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
19-
with:
20-
fetch-depth: 0
21-
- uses: gitleaks/gitleaks-action@v2
19+
- name: Run gitleaks filesystem scan
20+
uses: gitleaks/gitleaks-action@v2
2221
env:
2322
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
GITLEAKS_ENABLE_COMMENTS: false
24+
with:
25+
args: detect --source . --no-git --redact -v --exit-code=2
2426

2527
dependency-audit:
2628
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)