Skip to content

Allow Sirius accounts to send events #1163

Allow Sirius accounts to send events

Allow Sirius accounts to send events #1163

name: "[Analysis] TFSec PR feedback"
on:
pull_request:
branches: [ main ]
paths:
- "**.tf"
permissions:
actions: read
checks: read
contents: none
deployments: none
issues: none
packages: none
pull-requests: write
repository-projects: none
security-events: none
statuses: none
jobs:
tfsec:
name: TFSec Static analysis
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: tfsec with pr comments
uses: tfsec/[email protected]
with:
# setting working_directory to empty string will run tfsec on all .tf files in the repo
working_directory: ''
github_token: ${{secrets.GITHUB_TOKEN}}
soft_fail_commenter: true
tfsec_version: v1.28.1
tfsec_args: --concise-output --force-all-dirs