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
Create an empty action definition in action.json (if not -o flag is given). This command is meant to help with creating action definitions to be used with 'src actions exec'.
21
+
22
+
Examples:
23
+
24
+
Create a new action definition in action.json:
25
+
26
+
$ src actions create
27
+
28
+
Create a new action definition in ~/Documents/my-action.json:
Copy file name to clipboardExpand all lines: schema/actions.schema.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,11 @@
11
11
"steps"
12
12
],
13
13
"properties": {
14
+
"$schema": {
15
+
"description": "URL of the JSON Schema for an Action Definition.",
16
+
"type": "string",
17
+
"minLength": 1
18
+
},
14
19
"scopeQuery": {
15
20
"description": "A Sourcegraph search query to generate a list of repositories over which to run the action. Use 'src actions scope-query' to see which repositories are matched by the query.",
0 commit comments