You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/copilot/how-tos/github-copilot-app/open-from-github.md
+68-2Lines changed: 68 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
-
title: Opening the GitHub Copilot app from GitHub
2
+
title: Opening the GitHub Copilot app from links
3
3
shortTitle: Open from GitHub
4
4
allowTitleToDifferFromFilename: true
5
-
intro: "Use links from {% data variables.product.github %} to open repositories, issues, pull requests, and agent tasks directly in the {% data variables.copilot.github_copilot_app %}."
5
+
intro: "Use links to open repositories, issues, pull requests, automations, agent tasks, sessions, and setup flows directly in the {% data variables.copilot.github_copilot_app %}."
6
6
product: '{% data reusables.gated-features.github-app %}<br><a href="https://github.com/features/copilot/plans?ref_product=copilot&ref_type=purchase&ref_style=button&utm_source=docs-open-from-github-signup&utm_medium=docs&utm_campaign=github-copilot-app-ga-2026" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline"><span>Sign up for {% data variables.product.prodname_copilot_short %}</span> {% octicon "link-external" height:16 %}</a>'
|`ghapp://mywork`| My work | Opens issues and pull requests in My work. |
38
+
|`ghapp://github.com/OWNER/REPO`| Repository setup | Opens or clones the repository. |
39
+
|`ghapp://github.com/OWNER/REPO/issues/NUMBER`| Issue | Opens the issue in My work when the repository is already added as a project. |
40
+
|`ghapp://github.com/OWNER/REPO/pull/NUMBER`| Pull request | Opens the pull request in My work when the repository is already added as a project. Optional trailing path segments are preserved. |
41
+
|`ghapp://github.com/OWNER/REPO/tasks/TASK_ID`| Agent task | Resumes a Copilot agent task from {% data variables.product.github %}. Use the GitHub task ID, not a runtime session ID. |
|`ghapp://automations/new`| New automation draft | Opens the new automation dialog with any supported query parameters pre-filled. |
44
+
|`ghapp://automations/AUTOMATION_ID`| Automation | Opens a local automation by default. Add `mode=cloud` for a cloud automation. |
45
+
|`ghapp://automations/AUTOMATION_ID/RUN_ID`| Automation run | Opens a local automation run by default. Add `mode=cloud` for a cloud automation run. |
46
+
|`ghapp://workflows`| Automations | Legacy compatibility path for `ghapp://automations`. Generate new links with `/automations`. |
47
+
|`ghapp://workflows/new`| New automation draft | Legacy compatibility path for `ghapp://automations/new`. Generate new links with `/automations/new`. |
48
+
|`ghapp://workflows/AUTOMATION_ID`| Automation | Legacy compatibility path for `ghapp://automations/AUTOMATION_ID`. Generate new links with `/automations`. |
49
+
|`ghapp://workflows/AUTOMATION_ID/RUN_ID`| Automation run | Legacy compatibility path for `ghapp://automations/AUTOMATION_ID/RUN_ID`. Generate new links with `/automations`. |
|`ghapp://sessions/SESSION_ID`| App session | Opens an app-local workspace or session. Do not use this shape for Copilot agent tasks from {% data variables.product.github %}. |
52
+
|`ghapp://clone/OWNER/REPO`| Repository setup | Shows a confirmation before cloning or opening repository setup. |
53
+
|`ghapp://repo/OWNER/REPO`| Repository setup | Shows a confirmation before cloning or opening repository setup. |
54
+
|`ghapp://session/new`| New session | Shows a confirmation before creating a session. Use query parameters to provide the repository, pull request, branch, prompt, or session mode. |
55
+
|`ghapp://session/new/OWNER/REPO`| New session for a repository | Shows a confirmation before creating a session for the repository. |
56
+
|`ghapp://plugins/install`| Plugin install form | Shows a confirmation, then opens Settings > Plugins with the install form pre-filled. |
57
+
|`ghapp://plugins/marketplace/add`| Plugin marketplace form | Shows a confirmation, then opens Settings > Plugins with the marketplace form pre-filled. |
58
+
59
+
## Session creation parameters
60
+
61
+
The `ghapp://session/new` and `ghapp://session/new/OWNER/REPO` links accept these query parameters.
|`repo`| Required for `ghapp://session/new`; optional for `ghapp://session/new/OWNER/REPO`| Repository in `OWNER/REPO` format. |
66
+
|`pr`| No | Positive pull request number. Cannot be combined with `branch`. |
67
+
|`branch`| No | Base branch for the new session. Cannot be combined with `pr`. |
68
+
|`prompt`| No | Kickoff prompt. Do not include secrets or sensitive user content in generated URLs. |
69
+
|`mode`| No | One of `plan`, `interactive`, or `autopilot`. |
70
+
71
+
## Automation parameters
72
+
73
+
Automation links open local automations by default. Add `mode=cloud` to open a cloud automation task or run. Legacy `ghapp://workflows` links accept the same parameters, but new links should use `ghapp://automations`.
74
+
75
+
The `ghapp://automations/new` link opens the new automation dialog. It does not create the automation until the user reviews the dialog and confirms in the app.
|`prompt`| No | Automation prompt. Do not include secrets or sensitive user content in generated URLs. |
81
+
|`trigger`| No | One of `manual`, `hourly`, `daily`, or `weekly`. Invalid values are ignored. `interval` is also accepted as an alias. |
82
+
|`time`| No |`HH:mm` in 24-hour local time. Only accepted for `daily` and `weekly` triggers. Daily triggers also accept comma-separated or repeated times when all entries share the same minute, for example `time=08:00,13:00`. Invalid values are ignored. |
83
+
|`day`| No | Weekly day as `0`-`6` (`0` = Sunday) or a weekday name. Invalid values are ignored. `schedule_day` is also accepted as an alias, and weekly triggers accept comma-separated or repeated values, such as `schedule_day=1,3,5`. |
84
+
|`mode`| No | For `ghapp://automations/AUTOMATION_ID` and `ghapp://automations/AUTOMATION_ID/RUN_ID`, use `cloud` for cloud automations. Omit it or use `local` for local automations. |
85
+
86
+
## Plugin parameters
87
+
88
+
Plugin links open Settings > Plugins with a form pre-filled. They do not install or add anything until the user confirms in the app.
|`ghapp://plugins/install`|`source`| Yes | Plugin source in `PLUGIN@MARKETPLACE` format. Always URL-encode the value, for example `source=my-plugin%40acme`. |
93
+
|`ghapp://plugins/marketplace/add`|`source`| Yes | Marketplace source as `OWNER/REPO` or a Git URL. Always URL-encode the value, for example `source=acme%2Fplugins`. |
94
+
29
95
## Repository link
30
96
31
97
To open a repository in the app, encode an app link in this format.
0 commit comments