1. 添加gitleaks

pull/3/merge v1.0.1
bboysoul 2024-06-12 17:24:17 +08:00
parent ed07c7d62f
commit 67fb5505af
No known key found for this signature in database
GPG Key ID: F3D8D18D542B736B
1 changed files with 13 additions and 0 deletions

13
.github/workflows/gitleaks.yaml vendored Normal file
View File

@ -0,0 +1,13 @@
name: gitleaks
on: [push]
jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}