Tailflow
Skip to article
Browse documentation

GitHub · Action

Find issue

Finds the first issue in a repository whose title contains the text you give, and hands its number to the steps below.

When to use it

Finding the issue an earlier event opened, so this one comments on it instead of opening another.

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.
titleRequiredAccepts event fields
Title contains. Matched as a phrase in the title.
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_find_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

  • Only open issues are searched unless you choose otherwise. Pull requests are never matched.
  • The text is matched as a phrase, not exactly, and capitals do not matter.
  • An issue opened a moment ago can take a little while to be found.
  • No match fails the step, so the steps below never act on nothing. The flow keeps running.
  • GitHub allows far fewer searches than other steps. Many events at once can be slowed down or fail with a request to try again.