retailnext/TF Report Action
Reports OpenTofu/Terraform workflow status as PR comments or status issues with rich plan/apply detail
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| steps | JSON string of workflow steps (pass toJSON(steps)) | yes | — |
| workspace | Workspace name used in the comment title, status issue title, and deduplication marker. If not provided, defaults to GITHUB_WORKFLOW/GITHUB_JOB. | no | — |
| target-step | Optional step ID to focus the report on. When specified, the report treats this step being skipped or failing as a serious error that is prominently reported. Most useful for non-IaC use cases. | no | — |
| github-token | GitHub token for API calls. In PR context, requires pull-requests: write. In non-PR context (status issues), requires issues: write. Both are needed if the workflow triggers on both push and pull_request. | yes | — |
| init-step-id | Step ID for the init step | no | init |
| validate-step-id | Step ID for the validate step | no | validate |
| plan-step-id | Step ID for the plan step | no | plan |
| show-plan-step-id | Step ID for the show-plan step | no | show-plan |
| apply-step-id | Step ID for the apply step | no | apply |
| state-step-id | Step ID for the state step (post-apply state pull) | no | state |
| always-upload-report | When "true", always uploads the full report as an HTML artifact and links to it from the comment — even when the report is not truncated. Useful for archival or sharing outside of GitHub. | no | false |
Outputs
no outputs