From 5b185877c984881796c87a8fc3f3bd39d7a82f89 Mon Sep 17 00:00:00 2001 From: Steven Welch Date: Thu, 27 Aug 2026 20:29:08 -0600 Subject: [PATCH] fix(opentofu): remove apply environment gate --- .github/workflows/opentofu.yml | 1 - README.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/opentofu.yml b/.github/workflows/opentofu.yml index eb01170..25f6ecd 100644 --- a/.github/workflows/opentofu.yml +++ b/.github/workflows/opentofu.yml @@ -261,7 +261,6 @@ jobs: runs-on: ${{ inputs.runs-on }} if: github.event_name == 'push' && github.ref == 'refs/heads/main' needs: [test] - environment: ${{ inputs.environment }} steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/README.md b/README.md index 878ba98..16cd85d 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ jobs: | Workflow | Description | |----------|-------------| -| `opentofu.yml` | OpenTofu/Terraform CI/CD with PR validation and an environment-gated apply on every push to `main` | +| `opentofu.yml` | OpenTofu/Terraform CI/CD with PR validation and an apply on every push to `main` | Same-repository PRs run tests and a credentialed plan; fork PRs run tests only. A push to `main` runs tests followed by a fresh apply, which does not reuse the PR plan.