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.
git-secrets-scan
1 parent bd4ea28 commit bd23a4cCopy full SHA for bd23a4c
.github/workflows/git-secrets-scan.yml
@@ -0,0 +1,37 @@
1
+name: Git Secrets Scan
2
+
3
+permissions:
4
+ contents: read
5
6
+on:
7
+ push:
8
+ branches:
9
+ - main
10
+ - release-*
11
+ - v*
12
+ workflow_dispatch:
13
14
+concurrency:
15
+ group: git-secrets-scan-${{ github.head_ref || github.ref }}
16
+ cancel-in-progress: true
17
18
+jobs:
19
+ scan:
20
+ runs-on: ubuntu-latest
21
+ timeout-minutes: 10
22
23
+ steps:
24
+ - name: Checkout code
25
+ uses: actions/checkout@v5
26
27
+ - name: Install git-secrets
28
+ run: |
29
+ git clone --depth 1 --branch 1.3.0 https://github.com/awslabs/git-secrets.git
30
+ cd git-secrets
31
+ sudo make install
32
33
+ - name: Configure git-secrets
34
+ run: git secrets --register-aws
35
36
+ - name: Run git-secrets
37
+ run: git secrets --scan
0 commit comments