chore: add gitleaks

main
sudo pacman -Syu 2024-06-08 15:57:13 +07:00
parent 5cfbe4211b
commit f6b5c28865
1 changed files with 16 additions and 0 deletions

16
.github/workflows/gitleaks.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: gitleaks
on:
push:
pull_request:
jobs:
scan:
name: 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 }}