Skip to content

Bump submodules versions #88

Bump submodules versions

Bump submodules versions #88

Workflow file for this run

name: 'Terraform'
on:
push:
branches:
- main
pull_request:
jobs:
terraform:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
if: ${{ github.event_name == 'pull_request' }}
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Checkout
uses: actions/checkout@v3
if: ${{ github.event_name == 'push' }}
with:
ref: ${{ github.ref_name }}
- name: Setup terraform
uses: hashicorp/setup-terraform@v1
- name: Terraform Init
run: terraform init
- name: Terraform Format
run: terraform fmt -check -recursive
- name: Render terraform docs and push changes back to PR
uses: terraform-docs/gh-actions@main
with:
config-file: .terraform-docs.yml
working-dir: .
git-push: "true"