Add open workflow action

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
Sanjula Ganepola
2024-09-26 20:45:59 -04:00
parent 57809e46ff
commit 92bf98995d
7 changed files with 36 additions and 13 deletions

View File

@@ -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": [