File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1313
1414 steps :
1515 - uses : actions/checkout@v2
16+ - name : Check for secrets leak on the repo
17+ run : |
18+ git clone https://github.com/awslabs/git-secrets.git target
19+ cd target
20+ sudo make install
21+ echo "Git-secrets installation completed"
22+ git secrets --register-aws --global
23+ echo "Added aws secret templates"
24+ git secrets --scan -r ../
25+ echo "Repository scan completed"
1626 - name : Setup .NET Core
1727 uses : actions/setup-dotnet@v1
1828 with :
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ git secrets --commit_msg_hook -- " $@ "
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ git secrets --pre_commit_hook -- " $@ "
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ git secrets --prepare_commit_msg_hook -- " $@ "
You can’t perform that action at this time.
0 commit comments