From 0f75adb47531e00bead3fa3e252eccc49d6b3779 Mon Sep 17 00:00:00 2001 From: ccostasala Date: Thu, 19 Dec 2024 23:22:31 +0100 Subject: [PATCH] [PLAT-516] feat: Update gitleaks workflow --- .github/workflows/gitleaks.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml index c0af8a7..155b102 100644 --- a/.github/workflows/gitleaks.yaml +++ b/.github/workflows/gitleaks.yaml @@ -1,10 +1,16 @@ name: gitleaks - on: push: workflow_dispatch: - jobs: gitleaks: - uses: sueddeutsche/plat-reusable-workflows/.github/workflows/gitleaks.yaml@v3 - secrets: inherit + name: Run gitleaks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: gitleaks/gitleaks-action@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}