Skip to content

Commit 0940bf1

Browse files
committed
Add tfsec commenter GitHub actions
* Runs tfsec on PR, and comments any failures
1 parent 6a2c436 commit 0940bf1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,14 @@ jobs:
5555
output-file: README.md
5656
output-method: inject
5757
fail-on-diff: true
58+
tfsec:
59+
name: tfsec
60+
needs: validate-terraform
61+
runs-on: ubuntu-latest
62+
steps:
63+
- name: Clone repo
64+
uses: actions/checkout@master
65+
- name: tfsec
66+
uses: aquasecurity/[email protected]
67+
with:
68+
github_token: ${{ github.token }}

0 commit comments

Comments
 (0)