Releases: OP5dev/TF-via-PR
Releases · OP5dev/TF-via-PR
v10.1.0
Fixed
- Reference path to github-script files.
Changed
- Moved reference workflows into "examples/" directory to prevent mistriggers.
Commits changelog: v10...v10.1.0
v9.1.0
Changed
- Separate out github-scripts to external files by @rdhar in #187
- chore(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1 by @dependabot in #185
- chore(deps): bump aws-actions/configure-aws-credentials from 4.0.1 to 4.0.2 by @dependabot in #186
Commits changelog: v9.0.3...v9.1.0
v9.1.0-rc.2
Changed
- Separate out github-scripts to external files by @rdhar in #187
- chore(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1 by @dependabot in #185
- chore(deps): bump aws-actions/configure-aws-credentials from 4.0.1 to 4.0.2 by @dependabot in #186
Commits changelog: v9.0.3...v9.1.0-rc.2
v9.0.3
Changed
- chore(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0 by @dependabot in #183
- chore(deps): bump opentofu/setup-opentofu from 1.0.1 to 1.0.2 by @dependabot in #184
Commits changelog: v9.0.2...v9.0.3
v9.0.2
Changed
- remove sample lock files by @rdhar in #180
- chore(deps): bump actions/upload-artifact from 3.1.3 to 4.2.0 by @dependabot in #182
Commits changelog: v9.0.1...v9.0.2
v9.0.1
Changed
- docs: add changelog section header by @rdhar in #170
- docs: github action description by @rdhar in #171
- chore(deps): bump actions/github-script from 7.0.0 to 7.0.1 by @dependabot in #172
- docs: update action name by @rdhar in #176
Commits changelog: v9.0.0...v9.0.1
v9.0.0: GitHub Action Availability
Highlight
This project is now available as a GitHub Action and distributed via the GitHub Marketplace!
Added
- Composite action.yml to support GitHub Action implementation.
- Example tf.yml workflow for a functional demonstration of the GitHub Action... in action.
- Screenshots (with prefers-color-scheme dark and light) to exhibit a typical interaction within a PR conversation at the very top of README.md.
Changed
- Rename project to "tf-via-pr-comments" to emphasize the use of PR comments as the primary interface for TF command execution.
- Both PR conversation examples to reflect the new TF command input format.
Fixed
- PR comment reaction 👀 is now added for the duration of the workflow run, then removed upon completion.
Deprecated
- The reusable workflow has been superseded by composite action.yml which exposes the functionality with a lower barrier to entry.
- Bulk execution of TF commands is no longer possible since matrix strategy for jobs is not supported by composite actions.
Secured
- Pass sensitive values to the GitHub Action directly via environment variables.
- Support v9.X and above.
Commits changelog: v8.0.1...v9.0.0
v8.0.1: Bump hashicorp/setup-terraform
Changed
Sourced from hashicorp/setup-terraform's releases.
- Updated default runtime to node20 (#346)
- The wrapper around the installed Terraform binary has been fixed to return the exact STDOUT and STDERR from Terraform when executing commands. Previous versions of setup-terraform may have required workarounds to process the STDOUT in bash, such as filtering out the first line or selectively parsing STDOUT with jq. These workarounds may need to be adjusted with v3.0.0, which will now return just the STDOUT/STDERR from Terraform with no errant characters/statements. (#367)
Commits changelog: v8.0.0...v8.0.1
v8.0.0: OpenTofu Support, Format and Validate
Highlights
- Implemented OpenTofu GitHub Action to deliver first-class support for
tofu
, while maintaining backwards-compatibility withterraform
. - Optional TF
fmt
andvalidate
steps available by default.
Added
TVP_CLI_USES=tofu
orTVP_CLI_USES=terraform
for users to choose betweenopentofu/setup-opentofu
orhashicorp/setup-terraform
.TVP_FMT_ENABLE
andTVP_VALIDATE_ENABLE
to toggle TFfmt
andvalidate
commands, respectively.- Diff of TF
fmt
command as a separate collapsible section in the PR comment. paths: ['**/*.tf*']
toon: pull_request
so that the workflow is only triggered when a PR contains changes to Terraform files.TVP_BACKEND_CONFIG_FROM_WORKSPACE
,TVP_BACKEND_CONFIG_PREFIX
, andTVP_BACKEND_CONFIG_SUFFIX
for consistency withTVP_VAR_FILE_
counterparts.
Changed
- References to "TF" from "Terraform", to be vendor-neutral with HashiCorp's and OpenTofu's offerings.
- PR labels prefix from
terraform:
totf:
, and change colour depending ontofu
(#FFDA18) orterraform
(#5C4EE5) usage. - Documentation to reflect changes to inputs.
Deprecated
CONFIG_TF_
prefixed variables toTVP_
prefix instead, to be consistent with Terraform/OpenTofu-Via-PR (TVP).
Secured
- Version support v8.0.0 and above.
peter-evans/find-comment
dependency by replacing withactions/github-script
.xt0rted/pull-request-comment-branch
dependency by replacing withactions/github-script
.myrotvorets/set-commit-status-action
dependency by replacing withactions/github-script
.
Commits changelog: v7.1.0...v8.0.0
v7.1.0: Flag to check for PR review approval
Added
- Feature to check if
CONFIG_TF_REQUIRE_APPROVAL
is set to "true".- Verify that the PR review state is approved, otherwise exit the workflow with a failure.
Changed
- Reduce the PR comment limit to 64,800 characters from 131,056 stack size limitation.
Fixed
- Links to GitHub workflows from Readme documentation.
- Parsing of filtered Terraform comment output, including special characters.
Commits changelog: v7.0.0...v7.1.0