2021-03-03 00:49:24 +01:00
|
|
|
name: CI Checks
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: ["**"]
|
|
|
|
pull_request:
|
2021-03-04 20:17:44 +01:00
|
|
|
branches: ["main"]
|
2021-03-03 00:49:24 +01:00
|
|
|
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
|