Tailflow
Skip to article
Browse documentation

GitHub · Action

Add labels

Adds one or more labels to an issue or a pull request. Labels it already has stay.

When to use it

Marking an issue as the situation changes: high-value when a transfer is large, resolved when it settles.

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.
labelsRequiredAccepts event fields
Labels. Separate labels with commas.

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_add_labels_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.
labels
Every label it has now, by name.

Good to know

  • Labels are matched by name. Write them as the repository spells them.
  • The person who connected GitHub needs to be able to label issues in the repository.