]> begriffs open source - freertos/blob - .github/workflows/git-secrets.yml
Allow xPortIsAuthorizedToAccessBuffer() API call only from mpu_wrappers_v2 (#992)
[freertos] / .github / workflows / git-secrets.yml
1 name: git-secrets Check
2 on:
3   push:
4   pull_request:
5   workflow_dispatch:
6 jobs:
7   git-secrets:
8     runs-on: ubuntu-latest
9     steps:
10       - uses: actions/checkout@v3
11         with:
12           submodules: recursive
13       - name: Checkout awslabs/git-secrets
14         uses: actions/checkout@v3
15         with:
16           repository: awslabs/git-secrets
17           ref: master
18           path: git-secrets
19       - name: Install git-secrets
20         run: cd git-secrets && sudo make install && cd ..
21       - name: Run git-secrets
22         run: |
23           git-secrets --register-aws
24           git-secrets --scan