1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-29 01:44:39 +02:00

chore: gitleaks only when license present

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2022-09-27 10:57:08 -03:00
parent 32285bab55
commit 20ead77da7
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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:
@ -22,3 +21,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}
if: ${{ env.GITLEAKS_LICENSE != '' }}