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.