Skip to content

Added linux_function_apps variable for example (#45) #40

Added linux_function_apps variable for example (#45)

Added linux_function_apps variable for example (#45) #40

Workflow file for this run

name: Terraform Format
on:
push:
branches:
- main
- visiativ/*
jobs:
terraform:
name: 'Terraform Format'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Important: This is needed to push changes back to the repository
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
- name: Terraform Format
run: terraform fmt -recursive
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git diff --quiet && git diff --staged --quiet || (git add -A && git commit -m "Apply terraform fmt")
- name: Push changes
uses: ad-m/[email protected]
with:
branch: ${{ github.ref }}
github_token: ${{ secrets.GITHUB_TOKEN }}