1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00
Carlos A Becker 5aed49bd0a
chore(ci): do not run gitleaks on prs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-27 08:55:38 -03:00

21 lines
346 B
YAML

name: gitleaks
on:
push:
branches:
- 'main'
permissions:
contents: read
jobs:
gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}