We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c409095 commit 46cc9e1Copy full SHA for 46cc9e1
.github/workflows/gitguardian.yml
@@ -0,0 +1,21 @@
1
+name: GitGuardian scan
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ scanning:
7
+ name: GitGuardian scan
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v2
12
+ with:
13
+ fetch-depth: 0 # fetch all history so multiple commits can be scanned
14
+ - name: GitGuardian scan
15
+ uses: GitGuardian/ggshield-action@master
16
+ env:
17
+ GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}
18
+ GITHUB_PUSH_BASE_SHA: ${{ github.event.base }}
19
+ GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }}
20
+ GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
21
+ GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
0 commit comments