infrastructure/.forgejo/workflows/tofu-plan.yaml
pgijsbertsen 1f6970c321
All checks were successful
tofu plan / opentofu (pull_request) Successful in 10s
chore: Add tofu plan workflow
2025-11-28 15:34:52 +01:00

35 lines
631 B
YAML

---
name: tofu plan
on:
workflow_dispatch:
workflow_call:
pull_request:
branches:
- main
# paths:
# - pve01.wheatley.in/k8s-whealtey/**
jobs:
opentofu:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: opentofu/setup-opentofu@v1
- name: OpenTofu fmt
id: fmt
run: tofu fmt -check
continue-on-error: true
- name: OpenTofu Init
id: init
run: tofu init
- name: OpenTofu Validate
id: validate
run: tofu validate -no-color
- name: OpenTofu Plan
id: plan
run: tofu plan -no-color
continue-on-error: true