From a6938c580437f0cabff0be3ace1987b78a4e6f40 Mon Sep 17 00:00:00 2001 From: ccostasala Date: Mon, 23 Dec 2024 16:49:48 +0100 Subject: [PATCH] [PLAT-516] feat: Create gitleaks workflow --- .github/workflows/gitleaks.yaml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml index 155b102..1fec4ad 100644 --- a/.github/workflows/gitleaks.yaml +++ b/.github/workflows/gitleaks.yaml @@ -1,16 +1,14 @@ name: gitleaks on: - push: - workflow_dispatch: + push: {} jobs: gitleaks: 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 }} + uses: gitleaks/gitleaks-action@v2 + with: + fetch-depth: 0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}