mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-09 13:15:15 -05:00
Added git-secrets check to Github Action (#520)
This commit is contained in:
parent
5309372245
commit
7de2a488b8
1 changed files with 26 additions and 0 deletions
26
.github/workflows/ci.yml
vendored
Normal file
26
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue