hashicorp/tfc-workflows-github

Allow add a comment to run

Opened this issue · 4 comments

Can the hashicorp/tfc-workflows-github/actions/create-run action take a comment as input and add that comment to the Run in TFC.

By default this could be a link back to the GitHub action run url
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

this is already supported.

you can use message
See https://github.com/hashicorp/tfc-workflows-github/blob/main/actions/create-run/action.yml

message:
required: false
description: "Specifies the message to be associated with this run. Default message will be generated."

I'm referring to a comment you can add at the bottom of a run.

message is the title of the run

maybe comment on apply-run then

Can this be added to create-run also for Speculative Plans?

i.e. Plan only runs can have comments too

image