Skip to content

Commit b3ca8e0

Browse files
fix(ci): replace gitleaks-action with container-based gitleaks
The gitleaks-action@v2 requires a paid license for organization repos. Run gitleaks directly from the dev-toolchain image instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 89b3c52 commit b3ca8e0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
uses: actions/checkout@v4
3434

3535
- name: Run gitleaks
36-
uses: gitleaks/gitleaks-action@v2
37-
env:
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
run: |
37+
docker run --rm \
38+
-v "$(pwd):/workspace" \
39+
-w /workspace \
40+
ghcr.io/devrail-dev/dev-toolchain:v1 \
41+
gitleaks detect --source /workspace --verbose

0 commit comments

Comments
 (0)