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: .github/workflows/weekly-upstream-sync.md
+10-25Lines changed: 10 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ This document describes the `weekly-upstream-sync.yml` GitHub Actions workflow,
40
40
41
41
## Overview
42
42
43
-
The workflow runs on a **weekly schedule** (every Monday at 10:00 UTC) and can also be triggered manually. It does **not** perform the actual merge — instead, it detects upstream changes and creates a GitHub issue assigned to `copilot`, which then follows the [agentic-merge-upstream](../prompts/agentic-merge-upstream.prompt.md) prompt to port the changes.
43
+
The workflow runs on a **weekly schedule** (every Monday at 10:00 UTC) and can also be triggered manually. It does **not** perform the actual merge — instead, it detects upstream changes and creates a GitHub issue assigned to `copilot`, instructing the agent to follow the [agentic-merge-upstream](../prompts/agentic-merge-upstream.prompt.md) prompt to port the changes.
44
44
45
45
## Trigger
46
46
@@ -49,20 +49,6 @@ The workflow runs on a **weekly schedule** (every Monday at 10:00 UTC) and can a
49
49
|`schedule`| Every Monday at 10:00 UTC (`0 10 * * 1`) |
50
50
|`workflow_dispatch`| Manual trigger from the Actions tab |
|`pull-requests`|`write`| Allow Copilot agent to create PRs |
59
-
60
-
## Secrets
61
-
62
-
| Secret | Purpose |
63
-
|---|---|
64
-
|`GH_AW_AGENT_TOKEN`| PAT used as `GH_TOKEN` for `gh` CLI operations (issue create/close/comment). Required because the default `GITHUB_TOKEN` cannot assign issues to `copilot-swe-agent`. |
65
-
66
52
## Workflow Steps
67
53
68
54
### 1. Checkout repository
@@ -97,7 +83,7 @@ Creates a new GitHub issue with:
97
83
98
84
-**Title:**`Upstream sync: N new commits (YYYY-MM-DD)`
99
85
-**Label:**`upstream-sync`
100
-
-**Assignee:**`copilot-swe-agent`
86
+
-**Assignee:**`copilot`
101
87
-**Body:** Contains commit count, commit range links, a summary of recent commits, and a link to the merge prompt
102
88
103
89
The Copilot coding agent picks up the issue, creates a branch and PR, then follows the merge prompt to port the changes.
0 commit comments