Skip to content

ci: update WF versions and add dependabot config file #31

ci: update WF versions and add dependabot config file

ci: update WF versions and add dependabot config file #31

Workflow file for this run

name: Validate Terraform manifests with tfsec
on:
pull_request:
jobs:
tfsec:
name: tfsec
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.6.6
- name: Terraform Init
run: terraform init
- name: Run tfsec with reviewdog output on the PR
uses: reviewdog/action-tfsec@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
filter_mode: diff_context
fail_on_error: true
tfsec_flags: "--exclude-downloaded-modules"