Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

add changelog ci

add changelog ci #14

name: 'Terraform Format-Validate'
on:
pull_request:
types: [opened, reopened]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
jobs:
terraform-format-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2
- name: Terraform fmt
id: fmt
run: terraform fmt -check -diff
- name: Terraform Init
id: init
run: terraform init
- name: Terraform Validate
id: validate
run: terraform validate