Skip to content

🎉 feat: 更新包的配置&完善Github Actions #2

🎉 feat: 更新包的配置&完善Github Actions

🎉 feat: 更新包的配置&完善Github Actions #2

Workflow file for this run

name: Gitleaks Scan
on:
push:
pull_request:
workflow_dispatch:
jobs:
gitleaks:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run Gitleaks
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Exit If Gitleaks Check Failed
if: failure()
run: |
echo "Gitleaks Check Failed"
exit 1