OpenTofu/Terraform via Pull Request
Version updated for DevSecTop/TF-via-PR to version v11.0.0.
- This action is used across all versions by 2 repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
Highlights
- Input individual command arguments instead of a string.
- Expand support for PR automation event triggers.
Added
- Separate input parameters for each command argument passed into TF.
- Leverage github-script instead of bash for handling workflow logic and GitHub API.
- Support for
tenv
to avoid TF wrapper script.
Updated
- Example workflows for common use-cases and event triggers.
- Sample workflow to consolidate with matrix strategy and deployment environments.
- Readme documentation with up-to-date screenshot and guidance.
Changed
- Refactor input parameter names:
Before After Default command_input
args_*
cli_uses
tf_tool
terraform
label_enable
label_pr
true
plan_outline
outline_enable
true
recreate_comment
update_comment
false
- Refactor output parameter names:
Before After command
header
comment_summary
summary
plan_id
identifier
tf_fmt
fmt_result
tf_output
last_result
Removed
- Support for
issue_comment
event trigger in order to focus on PR automation events.
Fixed
- #237 by fetching the job name with several methods until GitHub fixes it.
- #238 by enabling compatibility with
workflow_dispatch
event trigger while using0
as a placeholder PR number. - #243 by confirming compatibility with
merge_group
event trigger and documenting workflow example. - #245 by confirming compatibility with
push
event trigger and documenting workflow example.
Secured
- Support for v11.0.0 and above.
Todo
- Add workflow example for interactive PR label trigger.
- Add support for
terragrunt
thin wrapper, per #258.
Commits changelog: https://github.com/DevSecTop/TF-via-PR/compare/v10.7.0...v11.0.0