Skip to content

feat: Add checkov github action #3

feat: Add checkov github action

feat: Add checkov github action #3

name: terraform-test
on:
push:
branches: [ "main"]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
terraform-test:
runs-on: hashicorp/terraform:1.7.5
permissions:
contents: read
actions: read
steps:
- uses: actions/checkout@v4
- run: terraform init
- run: terraform test