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