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
tenvto 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_inputargs_*cli_usestf_toolterraformlabel_enablelabel_prtrueplan_outlineoutline_enabletruerecreate_commentupdate_commentfalse - Refactor output parameter names:
Before After commandheadercomment_summarysummaryplan_ididentifiertf_fmtfmt_resulttf_outputlast_result
Removed
- Support for
issue_commentevent 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_dispatchevent trigger while using0as a placeholder PR number. - #243 by confirming compatibility with
merge_groupevent trigger and documenting workflow example. - #245 by confirming compatibility with
pushevent 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
terragruntthin wrapper, per #258.
Commits changelog: https://github.com/DevSecTop/TF-via-PR/compare/v10.7.0...v11.0.0