New AWS Multi Account ready setup with a better approach #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tfsec PR Comment | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tf-fmt-check: | |
name: Tfsec PR Comment | |
if: github.event_name == 'pull_request' && github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: Begin CI... | |
uses: actions/checkout@v3 | |
- name: Run tfsec | |
uses: aquasecurity/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
soft_fail: true |