Add run workflow support
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
38
package.json
38
package.json
@@ -50,12 +50,12 @@
|
||||
{
|
||||
"id": "workflows",
|
||||
"name": "Workflows",
|
||||
"icon": "$(remote-explorer)"
|
||||
"icon": "$(layers)"
|
||||
},
|
||||
{
|
||||
"id": "settings",
|
||||
"name": "Settings",
|
||||
"icon": "$(server-environment)"
|
||||
"icon": "$(gear)"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -66,6 +66,12 @@
|
||||
"title": "Refresh",
|
||||
"icon": "$(refresh)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.runAllWorkflows",
|
||||
"title": "Run All Workflows",
|
||||
"icon": "$(run-all)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.refreshWorkflows",
|
||||
@@ -78,6 +84,12 @@
|
||||
"title": "Open Workflow",
|
||||
"icon": "$(go-to-file)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.runWorkflow",
|
||||
"title": "Run Workflow",
|
||||
"icon": "$(debug-start)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.refreshSettings",
|
||||
@@ -91,6 +103,10 @@
|
||||
"command": "githubLocalActions.refreshComponents",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.runAllWorkflows",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.refreshWorkflows",
|
||||
"when": "never"
|
||||
@@ -99,6 +115,10 @@
|
||||
"command": "githubLocalActions.openWorkflow",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.runWorkflow",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.refreshSettings",
|
||||
"when": "never"
|
||||
@@ -111,10 +131,15 @@
|
||||
"group": "navigation@0"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.refreshWorkflows",
|
||||
"command": "githubLocalActions.runAllWorkflows",
|
||||
"when": "view == workflows",
|
||||
"group": "navigation@0"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.refreshWorkflows",
|
||||
"when": "view == workflows",
|
||||
"group": "navigation@1"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.refreshSettings",
|
||||
"when": "view == settings",
|
||||
@@ -124,8 +149,13 @@
|
||||
"view/item/context": [
|
||||
{
|
||||
"command": "githubLocalActions.openWorkflow",
|
||||
"when": "view == workflows && viewItem =~ /^workflow.*/",
|
||||
"when": "view == workflows && viewItem =~ /^githubLocalActions.workflow.*/",
|
||||
"group": "inline@0"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.runWorkflow",
|
||||
"when": "view == workflows && viewItem =~ /^githubLocalActions.workflow.*/",
|
||||
"group": "inline@1"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user