Renovate Update Patch & Minor Updates #2720
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 Static analysis | |
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/environment', 'terraform/account' ] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: tfsec with pr comments | |
uses: tfsec/tfsec-pr-commenter-action@v1.3.1 | |
with: | |
working_directory: ${{ matrix.terraform_path }} | |
github_token: ${{secrets.GITHUB_TOKEN}} |