File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 4646 else
4747 bash -c "yarn test"
4848 fi
49+
50+ scanning :
51+ name : GitGuardian scan
52+ runs-on : ubuntu-latest
53+ steps :
54+ - name : Checkout
55+ uses : actions/checkout@v4
56+ with :
57+ fetch-depth : 0 # fetch all history so multiple commits can be scanned
58+ - name : GitGuardian scan
59+ uses : GitGuardian/ggshield-action@v1
60+ env :
61+ GITHUB_PUSH_BEFORE_SHA : ${{ github.event.before }}
62+ GITHUB_PUSH_BASE_SHA : ${{ github.event.base }}
63+ GITHUB_DEFAULT_BRANCH : ${{ github.event.repository.default_branch }}
64+ GITGUARDIAN_API_KEY : ${{ secrets.GITGUARDIAN_API_KEY }}
Original file line number Diff line number Diff line change @@ -28,3 +28,10 @@ repos:
2828 hooks :
2929 - id : codespell
3030 exclude : ^(ggshield-internal)
31+
32+ - repo : https://github.com/gitguardian/ggshield
33+ rev : v1.36.0
34+ hooks :
35+ - id : ggshield
36+ language_version : python3
37+ stages : [pre-commit]
You can’t perform that action at this time.
0 commit comments