Tailflow
Skip to article
Browse documentation

GitHub · Action

Create comment

Adds a comment to one issue or pull request, where everybody watching it is notified.

When to use it

A running history on one issue: each event that touches the contract it tracks becomes a comment.

At a glance

IntegrationGitHub
Credits1
ConnectionGitHub, by signing in

Settings

repositoryRequired
Repository. Only repositories the Tailflow app is installed on are listed. You can also type owner/name. Picked from your account's own list, or typed.
issueRequiredAccepts event fields
Issue or pull request number. The number, typed or from a step above. A link to the issue works too.
bodyRequiredAccepts event fields
Comment. Written in Markdown. Mentions and issue numbers that come from the event do not notify anyone.

What it hands on

Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.github_create_comment_1.number }} — the action’s key, then which one it is if you use more than one of the same kind.

number
The number of the issue or pull request commented on.
url
The link to the comment on GitHub.
id
GitHub's own id for the comment.

Good to know

  • The comment appears under the name of the person who connected GitHub.
  • An issue or pull request that does not exist fails the step. The flow stops only when the number was typed into the form.
  • Mentions, issue numbers and words such as fixes that come from the event are written so they do not notify anyone or close anything. What you type yourself works as usual.