Skip to content

Commit 98be2b7

Browse files
authored
Add git-secrets check to the GHAs. (#68)
1 parent 5389527 commit 98be2b7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,19 @@ jobs:
130130
else
131131
exit 0
132132
fi
133+
git-secrets:
134+
runs-on: ubuntu-latest
135+
steps:
136+
- uses: actions/checkout@v2
137+
- name: Checkout awslabs/git-secrets
138+
uses: actions/checkout@v2
139+
with:
140+
repository: awslabs/git-secrets
141+
ref: master
142+
path: git-secrets
143+
- name: Install git-secrets
144+
run: cd git-secrets && sudo make install && cd ..
145+
- name: Run git-secrets
146+
run: |
147+
git-secrets --register-aws
148+
git-secrets --scan

0 commit comments

Comments
 (0)