Skip to content

Add an example user #21

Add an example user

Add an example user #21

Workflow file for this run

name: pre-commit
on:
workflow_dispatch:
pull_request:
push:
branches-ignore:
- main
env:
TERRAFORM_DOCS_VERSION: "0.24.0"
jobs:
pre-commit:
runs-on: ubuntu-latest
env:
TF_CLI_ARGS: "-no-color"
TF_IN_AUTOMATION: "true"
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.13"
- uses: opentofu/setup-opentofu@v2
with:
tofu_wrapper: false
- name: Install terraform-docs
run: |
curl -sSLo terraform-docs.tar.gz https://github.com/terraform-docs/terraform-docs/releases/download/v${TERRAFORM_DOCS_VERSION}/terraform-docs-v${TERRAFORM_DOCS_VERSION}-linux-amd64.tar.gz
tar -C /usr/local/bin -xf terraform-docs.tar.gz terraform-docs
- uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files