Skip to content

Commit 31627b4

Browse files
committed
Copilot: move instructions to path-specific files
This is now supported. See https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions for details.
1 parent 6a02649 commit 31627b4

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

‎.github/copilot-instructions.md‎

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
applyTo: "**/*.expected"
3+
---
4+
Ignore these files. These are generated to be correct by running the tests, and should not be edited by an agent.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
applyTo: "**/*.ql,**/*.qll"
3+
---
4+
When reviewing these QL files, do not make any comment on the code itself. You don't understand the QL programming language well enough yet. You can only make comments about the following aspects:
5+
* comments (lines starting with `//` or block comments enclosed in `/* ... */`): you can suggest improvements to the clarity of comments, or point out spelling mistakes
6+
* typos in identifiers

0 commit comments

Comments
 (0)