Skip to content

Releases: OP5dev/TF-via-PR

v10.1.0

03 Apr 16:19
7c71896
Compare
Choose a tag to compare

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

20 Feb 20:59
dc6ce44
Compare
Choose a tag to compare

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

20 Feb 20:47
dc6ce44
Compare
Choose a tag to compare
v9.1.0-rc.2 Pre-release
Pre-release

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

02 Feb 13:54
af816bc
Compare
Choose a tag to compare

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

19 Jan 21:12
050de16
Compare
Choose a tag to compare

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

05 Dec 01:56
4c170cd
Compare
Choose a tag to compare

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

16 Nov 02:12
881479e
Compare
Choose a tag to compare

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

31 Oct 18:50
76c4753
Compare
Choose a tag to compare

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

30 Oct 00:15
cce937b
Compare
Choose a tag to compare

Highlights

  • Implemented OpenTofu GitHub Action to deliver first-class support for tofu, while maintaining backwards-compatibility with terraform.
  • Optional TF fmt and validate steps available by default.

Added

  • TVP_CLI_USES=tofu or TVP_CLI_USES=terraform for users to choose between opentofu/setup-opentofu or hashicorp/setup-terraform.
  • TVP_FMT_ENABLE and TVP_VALIDATE_ENABLE to toggle TF fmt and validate commands, respectively.
  • Diff of TF fmt command as a separate collapsible section in the PR comment.
  • paths: ['**/*.tf*'] to on: 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, and TVP_BACKEND_CONFIG_SUFFIX for consistency with TVP_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: to tf:, and change colour depending on tofu (#FFDA18) or terraform (#5C4EE5) usage.
  • Documentation to reflect changes to inputs.

Deprecated

  • CONFIG_TF_ prefixed variables to TVP_ 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 with actions/github-script.
  • xt0rted/pull-request-comment-branch dependency by replacing with actions/github-script.
  • myrotvorets/set-commit-status-action dependency by replacing with actions/github-script.

Commits changelog: v7.1.0...v8.0.0

v7.1.0: Flag to check for PR review approval

02 Sep 23:19
92939ea
Compare
Choose a tag to compare

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