Skip to content

Commit 7e8d8af

Browse files
authored
Merge pull request #10213 from continuedev/docs/remote-config-pr-3083
docs: add GitHub trigger event types for workflows
2 parents d6069ed + c38c81a commit 7e8d8af

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docs/mission-control/integrations/github.mdx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,32 @@ The following **official workflow templates** are maintained by the Continue tea
4444

4545
<Tip>Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure these workflows in **[Mission Control → Integrations → GitHub](https://continue.dev/integrations/github)**.</Tip>
4646

47+
## GitHub Trigger Event Types
48+
49+
When creating a workflow with a GitHub trigger, you can choose from the following event types:
50+
51+
| Event Type | Description |
52+
|------------|-------------|
53+
| **PR Opened** | Triggers when a new pull request is opened |
54+
| **PR Merged** | Triggers when a pull request is merged |
55+
| **Label Added** | Triggers when a specific label is added to an issue or PR |
56+
| **Issue Opened** | Triggers when a new issue is created |
57+
| **PR Review Comment** | Triggers when a review comment is added to a pull request |
58+
| **Check Failed** | Triggers when a CI check suite fails |
59+
60+
A task kicked off by a trigger receives a summary of the event, which is appended to the Agent's prompt.
61+
62+
For example, an agent triggered by an `Issue Opened` trigger would see:
63+
64+
```
65+
Issue #123 was opened: Login page crashes on mobile devices
66+
Issue URL: https://github.com/acme/webapp/issues/123
67+
```
68+
69+
You can see the full initial prompt for a specific task in its logs.
70+
71+
---
72+
4773
## Workflow: GitHub issue → pull request (Cloud Agent)
4874

4975
**Problem**: GitHub issues pile up because turning an issue into a tested PR takes time and context switching.

0 commit comments

Comments
 (0)