Skip to content

Commit

Permalink
Add git-secrets check to GHAs. (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarenameas authored Nov 13, 2020
1 parent 89d7e53 commit 0882657
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ jobs:
else
exit 0
fi
git-secrets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout awslabs/git-secrets
uses: actions/checkout@v2
with:
repository: awslabs/git-secrets
ref: master
path: git-secrets
- name: Install git-secrets
run: cd git-secrets && sudo make install && cd ..
- name: Run git-secrets
run: |
git-secrets --register-aws
git-secrets --scan

0 comments on commit 0882657

Please sign in to comment.