Skip to content

Commit e042c80

Browse files
Merge pull request #6 from DNXLabs/feature/checkov
Feature/checkov
2 parents 1cf5500 + 535b3c7 commit e042c80

File tree

5 files changed

+27
-0
lines changed

5 files changed

+27
-0
lines changed

.github/workflows/auto-release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- master
77

8+
permissions: read-all
9+
810
jobs:
911
publish:
1012
runs-on: ubuntu-latest

.github/workflows/docs.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Generate terraform docs
22

33
on: [pull_request]
4+
5+
permissions: read-all
6+
47
jobs:
58
docs:
69
runs-on: ubuntu-latest

.github/workflows/documentation.yml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- master
77

8+
permissions: read-all
9+
810
jobs:
911
docs:
1012
runs-on: ubuntu-latest

.github/workflows/lint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Lint
22

33
on: [push]
44

5+
permissions: read-all
6+
57
jobs:
68
tflint:
79
name: Lint

.github/workflows/scan.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Scan
2+
3+
on: [push]
4+
5+
permissions: read-all
6+
7+
jobs:
8+
scan:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repo
12+
uses: actions/checkout@v3
13+
- name: Run Checkov action
14+
id: checkov
15+
uses: bridgecrewio/checkov-action@v12
16+
with:
17+
directory: .
18+
framework: terraform

0 commit comments

Comments
 (0)