Tailflow
Skip to article
Browse documentation

GitHub · Action

Update issue

Changes the title, the body or the state of one issue, and leaves everything you did not fill in as it is.

When to use it

Closing the issue a step above opened once the transaction it was waiting for lands.

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 number. The number, typed or from a step above. A link to the issue works too.
titleOptionalAccepts event fields
Title.
bodyOptionalAccepts event fields
Body. Written in Markdown. Mentions and issue numbers that come from the event do not notify anyone. Replaces the whole body.
state
State.

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_update_issue_1.number }} — the action’s key, then which one it is if you use more than one of the same kind.

number
The issue's number. It is what Update issue, Create comment and Add labels take.
url
The link to the issue on GitHub.
id
GitHub's own id for the issue.
state
open or closed.
title
The issue's title.

Good to know

  • The issue is named by its number, usually the number a Find issue step above produced. A link to the issue works too.
  • A new body replaces the old one entirely.
  • An issue that does not exist fails the step. The flow stops only when the number was typed into the form.
  • The repository must be one the Tailflow app is installed on. If it is not, the step fails and says so. When you typed the repository the flow stops, because every event would fail the same way.
  • 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.