chore: ci

This commit is contained in:
charlesgauthereau
2026-02-28 17:50:59 +01:00
parent aceb4e7f4c
commit 76b3bda313
+5 -4
View File
@@ -5,7 +5,7 @@ on:
branches: [ main ] branches: [ main ]
jobs: jobs:
sca-deps: # Dependency & container scan sca-deps:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -17,15 +17,16 @@ jobs:
ignore-unfixed: true ignore-unfixed: true
secrets-gitleaks: # Secrets exposure secrets-gitleaks:
if: github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 # Fetch full history for gitleaks fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2 - uses: gitleaks/gitleaks-action@v2
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }} GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
with: with:
config-path: .gitleaks.toml # Optional, if you have a custom config config-path: .gitleaks.toml