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
'Copilot please fix the redirected internal links listed in the table below. All changes should be made within the `github/docs-internal` repository. For each entry, open the source file and replace the **Current Link** with the **Update To** path.',
148
+
'Copilot, fix the redirected internal links listed below. All changes should be made within the `github/docs-internal` repository.',
149
+
'',
150
+
'For each directive below, open the specified file and find the old link path. Replace it with the new link path exactly as shown. Do not invent or guess link paths — only use the exact paths provided in each directive.',
151
+
'',
149
152
'When all changes are made, open a pull request in `github/docs-internal` with the fixes. The pull request description should reference this issue to create a link between them. When the pull request is open, leave a comment on this issue with a link to it.',
150
153
'',
151
154
`These are the first ${redirectGroups.length} of ${allRedirectGroups.length} redirects found.`,
152
155
'',
153
-
'## Redirects to fix',
156
+
'## Redirects to update',
154
157
'',
155
-
'| Current Link | Update To | File | Line(s) |',
156
-
'|---|---|---|---|',
157
-
tableRows,
158
+
directives,
158
159
]
159
160
160
161
const MAX_ISSUE_BODY_LENGTH = 65536
@@ -179,7 +180,7 @@ jobs:
179
180
agent_assignment: {
180
181
target_repo: 'github/docs-internal',
181
182
base_branch: 'main',
182
-
custom_instructions: 'For each entry in the table, open the source file in the github/docs-internal repository and replace the Current Link withthe Update To path. When all changes are made, open a pull request in github/docs-internal with the fixes. When the pull request is open, leave a comment on this issue with a link to it.',
183
+
custom_instructions: 'Follow each directive in the issue exactly. Each directive specifies a file, the old link to find, and the new link to replace it with. Use only the exact paths provided — do not invent or guess any link paths. When all changes are made, open a pull request in github/docs-internal with the fixes. When the pull request is open, leave a comment on this issue with a link to it.',
0 commit comments