Skip to content

🎉feat: 更新包的配置&完善Github Actions&删除已弃用文件等 #1

🎉feat: 更新包的配置&完善Github Actions&删除已弃用文件等

🎉feat: 更新包的配置&完善Github Actions&删除已弃用文件等 #1

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 }}
with:
fail-on-error: true
- name: Exit If Gitleaks Check Failed
if: failure()
run: |
echo "Gitleaks Check Failed"
exit 1