Skip to content

Commit

Permalink
Include tf lock file as trigger (#1244)
Browse files Browse the repository at this point in the history
Add missing permissions so that tfsec can write to the PR
  • Loading branch information
DrizzlyOwl authored Dec 10, 2024
1 parent e3b6b8b commit 6890ae1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/continuous-integration-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
branches: main
paths:
- 'terraform/**.tf'
- 'terraform/**.hcl'
pull_request:
paths:
- 'terraform/**.tf'
- 'terraform/**.hcl'

permissions:
contents: read
pull-requests: write

jobs:
terraform-validate:
Expand Down Expand Up @@ -60,7 +66,7 @@ jobs:
- name: Setup TFLint
uses: terraform-linters/setup-tflint@v4
with:
tflint_version: v0.44.1
tflint_version: v0.54.0

- name: Run TFLint
working-directory: terraform
Expand Down

0 comments on commit 6890ae1

Please sign in to comment.