File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Secrets Scan
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ secrets-scan :
7+ # for private repositories
8+ runs-on : [self-hosted, automated-checks]
9+ # for public repositories
10+ # runs-on: [ubuntu-latest]
11+
12+ steps :
13+ - name : Check Out Source Code
14+ uses : actions/checkout@v2
15+ with :
16+ # By default, actions/checkout@v2 does a shallow clone with
17+ # depth 1. 0 means 'fetch the whole history'. We use it here
18+ # since we don't know how many commits a PR could have. If
19+ # you're repo is very large and cloning is slow, you could
20+ # try tweaking it to a value that the typical PR wouldn't
21+ # exceed but that also prevents getting the full history
22+ fetch-depth : 0
23+
24+ - name : Secrets Scan
25+ uses : Typeform/.github/shared-actions/secrets-scan@master
26+ with :
27+ docker-registry : ${{ secrets.GITLEAKS_DOCKER_REGISTRY }}
28+ docker-username : ${{ secrets.GITLEAKS_DOCKER_USERNAME }}
29+ docker-password : ${{ secrets.GITLEAKS_DOCKER_PASSWORD }}
30+ gh-token : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments