Add git-secrets check to the GHA.
@@ -177,3 +177,20 @@ jobs:
run: |
doxygen docs/doxygen/config.doxyfile 2>&1 | tee doxyoutput.txt
if [[ "$(wc -c < doxyoutput.txt | bc)" = "0" ]]; then exit 0; else exit 1; fi
+ git-secrets:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ submodules: recursive
+ - name: Checkout aws/git-secrets
+ uses: actions/checkout@v2
+ with:
+ repository: aws/git-secrets
+ 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
