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
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,4 +93,26 @@ 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
+
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
99
+

100
+
!!! info "Configuration Description"
101
+
Conditions:
102
+
103
+
* 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