Skip to content

Bump actions/checkout from 4.1.2 to 4.1.3 #41

Bump actions/checkout from 4.1.2 to 4.1.3

Bump actions/checkout from 4.1.2 to 4.1.3 #41

Workflow file for this run

name: Terraform docs and formatting
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
push:
branches:
- main
jobs:
formatting:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: terraform fmt
uses: dflook/terraform-fmt-check@5e2043f1289bfaf0e568855ca2513aa13e9ac04f
docs:
runs-on: ubuntu-22.04
needs: formatting
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
with:
ref: ${{ github.ref }}
- name: Render terraform docs and push changes back to PR branch
uses: terraform-docs/gh-actions@62a6cc597a9a2ee6953471d4c9cc1668c66ebf36
with:
working-dir: .
output-file: README.md
output-method: inject
git-push: "true"