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 88dohm
99esbuild
1010fbca
11+ ggshield
1112gpgsign
1213hmarr
1314iife
Original file line number Diff line number Diff line change 1010# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#push
1111# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch
1212# - https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions
13+ # - https://github.com/GitGuardian/ggshield-action
1314# - https://github.com/actions/cache
1415# - https://github.com/actions/cache/discussions/650
1516# - https://github.com/actions/checkout
8081 - id : version-typescript
8182 name : Get TypeScript version
8283 run : echo "result=$(jq .devDependencies.typescript package.json -r)" >> $GITHUB_OUTPUT
84+ gitguardian :
85+ needs : metadata
86+ runs-on : ubuntu-latest
87+ steps :
88+ - id : checkout
89+ name : Checkout ${{ env.REF }}
90+ uses : actions/checkout@v3.3.0
91+ with :
92+ fetch-depth : 0
93+ ref : ${{ env.REF }}
94+ - id : scan
95+ name : Scan commits for secrets and policy breaches
96+ uses : GitGuardian/ggshield-action@master
97+ with :
98+ args : --all-policies --show-secrets --verbose
99+ env :
100+ GITGUARDIAN_API_KEY : ${{ secrets.GITGUARDIAN_API_KEY }}
101+ GITHUB_DEFAULT_BRANCH : ${{ github.event.repository.default_branch }}
102+ GITHUB_PULL_BASE_SHA : ${{ github.event.pull_request.base.sha }}
103+ GITHUB_PUSH_BASE_SHA : ${{ github.event.base }}
104+ GITHUB_PUSH_BEFORE_SHA : ${{ github.event.before }}
83105 format :
84106 needs : metadata
85107 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments