Renovate Update Patch & Minor Updates #553
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: "[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 | |
strategy: | |
matrix: | |
terraform_path: ['terraform/account', 'terraform/environment'] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: tfsec with pr comments | |
uses: tfsec/[email protected] | |
with: | |
working_directory: ${{ matrix.terraform_path }} | |
github_token: ${{secrets.GITHUB_TOKEN}} | |
soft_fail_commenter: true |