Add open workflow action
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
17
package.json
17
package.json
@@ -72,6 +72,12 @@
|
||||
"title": "Refresh",
|
||||
"icon": "$(refresh)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.openWorkflow",
|
||||
"title": "Open Workflow",
|
||||
"icon": "$(go-to-file)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.refreshSettings",
|
||||
@@ -89,6 +95,10 @@
|
||||
"command": "githubLocalActions.refreshWorkflows",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.openWorkflow",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.refreshSettings",
|
||||
"when": "never"
|
||||
@@ -110,6 +120,13 @@
|
||||
"when": "view == settings",
|
||||
"group": "navigation@0"
|
||||
}
|
||||
],
|
||||
"view/item/context": [
|
||||
{
|
||||
"command": "githubLocalActions.openWorkflow",
|
||||
"when": "view == workflows && viewItem =~ /^workflow.*/",
|
||||
"group": "inline@0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"colors": [
|
||||
|
||||
Reference in New Issue
Block a user