Skip to content

Commit

Permalink
chore: gitleaks only when license present
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Sep 27, 2022
1 parent 32285ba commit 20ead77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gitleaks.yml
Expand Up @@ -13,7 +13,6 @@ permissions:
jobs:
gitleaks:
runs-on: ubuntu-latest
if: ${{ github.event.pusher.name != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == github.repository }}
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
with:
Expand All @@ -22,3 +21,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}
if: ${{ env.GITLEAKS_LICENSE != '' }}

0 comments on commit 20ead77

Please sign in to comment.