summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxuelix <33909469+xuelix@users.noreply.github.com>2021-03-04 19:40:24 +0000
committerGitHub <noreply@github.com>2021-03-04 11:40:24 -0800
commit7de2a488b8c73ef247d5b03818588b111b8bde17 (patch)
tree0736bb5483b6bc5d82728a93bc2889e6ee638e46
parent5309372245eff6da54e3baa708c9061c6c284299 (diff)
downloadfreertos-git-7de2a488b8c73ef247d5b03818588b111b8bde17.tar.gz
Added git-secrets check to Github Action (#520)
-rw-r--r--.github/workflows/ci.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 000000000..718e28600
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,26 @@
+name: CI Checks
+on:
+ push:
+ branches: ["**"]
+ pull_request:
+ branches: [master]
+ workflow_dispatch:
+jobs:
+ 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