Skip to content

Commit

Permalink
chore: do not run gitleaks on dependabot prs
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Sep 27, 2022
1 parent 0a3a76c commit 32285ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
gitleaks:
runs-on: ubuntu-latest
if: ${{ !github.event.pusher.name == 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == github.repository }}
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 Down

0 comments on commit 32285ba

Please sign in to comment.