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 }}