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: inc/Abilities/GitSyncAbilities.php
+14-9Lines changed: 14 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -218,7 +218,7 @@ private function registerAbilities(): void {
218
218
'datamachine/gitsync-submit',
219
219
array(
220
220
'label' => 'Submit GitSync Binding as Pull Request',
221
-
'description' => 'Upload changed local files to the sticky proposal branch (gitsync/<slug>) and open or update a PR against the pinned branch.',
221
+
'description' => 'Upload changed local files to the sticky proposal branch (gitsync/<slug>) by default, or to a keyed proposal branch (gitsync/<slug>/<proposal-slug>) when proposal is provided, and open or update a PR against the pinned branch.',
222
222
'category' => 'datamachine-code-gitsync',
223
223
'input_schema' => array(
224
224
'type' => 'object',
@@ -231,19 +231,24 @@ private function registerAbilities(): void {
231
231
'items' => array( 'type' => 'string' ),
232
232
'description' => 'Optional explicit list of relative paths. If omitted, every file with a SHA mismatch against upstream (filtered by allowed_paths) is submitted.',
233
233
),
234
-
'title' => array( 'type' => 'string' ),
235
-
'body' => array( 'type' => 'string' ),
234
+
'title' => array( 'type' => 'string' ),
235
+
'body' => array( 'type' => 'string' ),
236
+
'proposal' => array(
237
+
'type' => 'string',
238
+
'description' => 'Optional proposal key. Omit to reuse gitsync/<slug>; pass a key to use gitsync/<slug>/<proposal-slug>.',
0 commit comments