chore: gitleaks

main
sudo pacman -Syu 2024-06-07 22:28:42 +07:00
parent 0f1f422802
commit 784417041b
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 }}