chore: add gitleaks

main
sudo pacman -Syu 2024-06-08 15:52:45 +07:00
parent d79dc0b041
commit b97fcec287
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 }}