Skip to content

Commit 98eba93

Browse files
xuelixgkwicker
andauthored
Added git-secrets check to Github Actions (#270)
Co-authored-by: Gary Wicker <14828980+gkwicker@users.noreply.github.com>
1 parent 5e45472 commit 98eba93

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,23 @@ jobs:
4444
- name: URL Checker
4545
run: |
4646
bash kernel/.github/actions/url_verifier.sh kernel
47+
48+
git-secrets:
49+
runs-on: ubuntu-latest
50+
steps:
51+
- uses: actions/checkout@v2
52+
with:
53+
submodules: recursive
54+
- name: Checkout awslabs/git-secrets
55+
uses: actions/checkout@v2
56+
with:
57+
repository: awslabs/git-secrets
58+
ref: master
59+
path: git-secrets
60+
- name: Install git-secrets
61+
run: cd git-secrets && sudo make install && cd ..
62+
- name: Run git-secrets
63+
run: |
64+
git-secrets --register-aws
65+
git-secrets --scan
66+

0 commit comments

Comments
 (0)