From 81c42b93cba87280b9ec535f439397da51b0ff87 Mon Sep 17 00:00:00 2001 From: Chris Wright Date: Sun, 20 Feb 2022 21:26:37 +0000 Subject: [PATCH] Add tfsec commenter GitHub actions * Runs tfsec on PR, and comments any failures --- .github/workflows/tfsec.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/tfsec.yml diff --git a/.github/workflows/tfsec.yml b/.github/workflows/tfsec.yml new file mode 100644 index 0000000..98bc794 --- /dev/null +++ b/.github/workflows/tfsec.yml @@ -0,0 +1,14 @@ +name: tfsec-pr-commenter +on: + pull_request: +jobs: + tfsec: + name: tfsec PR commenter + runs-on: ubuntu-latest + steps: + - name: Clone repo + uses: actions/checkout@master + - name: tfsec + uses: aquasecurity/tfsec-pr-commenter-action@v1.0.2 + with: + github_token: ${{ github.token }}