chore: add gitleaks

main
sudo pacman -Syu 2024-06-08 15:55:12 +07:00
parent 9b0345fe49
commit e7f85d45a5
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 }}