Skip to content

Commit 8930442

Browse files
committedSep 8, 2024·
Update schema.v2.json
1 parent 403c084 commit 8930442

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
 

‎static/schema/schema.v2.json

+21
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,27 @@
161161
"default": true,
162162
"description": "Generate sequence diagrams in the walkthrough."
163163
},
164+
"labeling_instructions": {
165+
"type": "array",
166+
"items": {
167+
"type": "object",
168+
"properties": {
169+
"label": {
170+
"type": "string",
171+
"description": "Label to suggest for the PR/MR. Example: frontend"
172+
},
173+
"instructions": {
174+
"type": "string",
175+
"maxLength": 3000,
176+
"description": "Instructions for the label. Example: Apply when the PR/MR contains changes to the react components."
177+
}
178+
},
179+
"required": ["label", "instructions"],
180+
"additionalProperties": false
181+
},
182+
"default": [],
183+
"description": "Labeling Instructions | Provide guidelines for suggesting labels for the PR/MR. When specific labels or instructions are provided, only those labels are considered, though previous examples are still used to inform the suggestions. If no such labels are provided, suggestions are based solely on previous PR/MRs."
184+
},
164185
"path_filters": {
165186
"type": "array",
166187
"items": {

0 commit comments

Comments
 (0)
Please sign in to comment.