Skip to content

Commit 5a4f07a

Browse files
edvilmeCopilot
andauthored
Update template sync workflow and add copilot instructions (#640)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 05f7f7c commit 5a4f07a

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/copilot-instructions.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copilot Instructions for vscode-black-formatter
2+
3+
## Development Guidelines
4+
5+
- When introducing new functionality, add basic tests following the existing repo test structure.
6+
- Always make sure all tests pass before submitting changes.
7+
- Always ensure documents and code are linted before submitting.
8+
- Do multiple rounds of review and refinement.
9+
- Do not feature creep — keep changes focused on the task at hand.

.github/workflows/extension-template-sync.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ If a file has diverged too much to apply changes confidently, **do not modify it
120120

121121
Use the `create-pull-request` safe output with:
122122

123-
- **Title**: `Sync with template: <original PR title>` (or `Sync with template: <N> recent changes` if combining multiple PRs)
123+
- **Title**: `Template Sync: <Title of PR>` (if syncing a single PR) or `Template Sync: <Summary>` (if combining multiple PRs)
124124
- **Body** structured as:
125125

126126
```
@@ -131,16 +131,21 @@ This PR syncs changes from the upstream [vscode-python-tools-extension-template]
131131
#### Source PR(s)
132132
- microsoft/vscode-python-tools-extension-template#<NUMBER> — <title>
133133
134+
#### Related Issues
135+
<List any issues referenced or fixed by the source PR(s), including cross-repo issues. Omit this section if none.>
136+
134137
#### Changes Applied
135138
<List of files modified and a brief description of what changed in each.>
136139
137140
#### Files Skipped
138141
<List of files from the template PR that were skipped and why. Omit this section if none were skipped.>
139142
140143
#### ⚠️ Review Notes
141-
- This PR was auto-generated by the template sync workflow.
142144
- Review all changes carefully, especially in files with tool-specific customizations.
143145
- Run tests locally before merging.
146+
147+
---
148+
🤖 This PR was auto-generated by the [`extension-template-sync`](.github/workflows/extension-template-sync.md) workflow.
144149
```
145150

146151
### Step 5: Handle edge cases

0 commit comments

Comments
 (0)