infrastructure/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml
pgijsbertsen 3a0cca97ba
Some checks failed
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Failing after 4s
fix
2026-01-19 15:40:41 +01:00

40 lines
787 B
YAML

---
name: tofu plan k8s-wheatley
on:
workflow_dispatch:
workflow_call:
pull_request:
branches:
- main
# paths:
# - pve01.wheatley.in/k8s-wheatley/**
jobs:
tofu-plan-k8s-wheatley:
runs-on: docker
defaults:
run:
working-directory: ${{ env.tf_actions_working_dir }}
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/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