Skip to content

Commit

Permalink
Added git-secrets check to Github actions (FreeRTOS#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelix authored Mar 3, 2021
1 parent 7867dcf commit 243b4a3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,22 @@ jobs:
run: |
find . -iname '*.c' |\
xargs complexity --scores --threshold=0 --horrid-threshold=55
git-secrets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- 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 243b4a3

Please sign in to comment.