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: docs/automations/integrations/copilot/flag-copilot-pr/README.md
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -93,4 +93,31 @@ Automatically apply labels to PRs that are assisted by GitHub Copilot. You can a
93
93
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/integrations/copilot/label_copilot_by_tag.cm){ .md-button }
94
94
</span>
95
95
</div>
96
+
97
+
=== "Label by Copilot code comment"
98
+
99
+
!!! warning "Experimental"
100
+
Code generation instructions is an experimental setting wich might change in future GitHub Copilot versions.
101
+
102
+
Use [Code generation instructions](https://code.visualstudio.com/updates/v1_93#code-generation-instructions) to instruct copilot to add a comment at the beginning of the AI generated code. Use gitStream automation to automatically identify PRs with this comment
103
+

104
+
105
+
!!! info "Configuration Description"
106
+
Conditions:
107
+
108
+
* The comment `Generated by Copilot` is added to the code in this PR
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/integrations/copilot/label_copilot_by_comment.cm){ .md-button }
0 commit comments