跳转到内容
Agentic Workflowdocs
v0.9.0免费安装

节点 / builtin / trigger

New issue or pull request

Start the workflow when an issue or pull request is opened or updated on GitHub

触发器 扩展程序网页应用自 0.9.0 起

此内容尚不支持你的语言。

Start the workflow when an issue or a pull request is opened, or updated, in a GitHub repository.

Every Check every minutes, the trigger reads the repository’s latest issues or pull requests (Watch) and starts one run with the new ones. With Start a run when one is set to Updated, every new change to an issue counts again. The issue trigger never starts a run for a pull request.

A check that finds nothing new starts no run. Press Run to fetch a test event: the latest items, without moving the trigger’s position.

  • Post new issues to a team channel.
  • Label or triage new pull requests with AI.
  • Copy new issues to Linear or Todoist.
设置项类型作用
Connection (必填)Credential
Repository (必填)One of several shapesowner/repo, or paste its link.
Watch ChoiceOptions: Issues, Pull requests. 默认值:Issues
Start a run when one is ChoiceOptions: Opened, Updated. 默认值:Opened
Check every NumberAt least 1 minute, only while the workflow is On. 默认值:5
On the first check ChoiceOptions: Skip what’s already there, Start with the latest. 默认值:Skip what’s already there
How many to start with NumberFor “Start with the latest” and Fetch test event (1–20). 默认值:3

Repository takes owner/repo, or paste the repository’s link.

  • Output

Each run returns a list of items with these fields:

Field类型What it holds
id Number
number Number
title Text
Shape of an output item
[
{
"id": 0,
"number": 0,
"title": "…"
}
]

One item per issue or pull request, as GitHub returns it (number, title, html_url, user, labels…).

  1. New issue or pull request, Watch Issues, Opened.
  2. Text Classifier sorts it into bug / question / idea.
  3. Slack posts it to the matching channel.
  • “Repository: use owner/repo.”: type it as owner/repo, or paste the full link.
  • GitHub answered 404: the connection’s token can’t see that repository.
编辑此页

最近更新:

Was this page useful?
向 Aria 询问“New issue or pull request”