Add information action

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
Sanjula Ganepola
2024-09-28 19:44:33 -04:00
parent e731071d31
commit 7958d3d5ba
3 changed files with 24 additions and 1 deletions

View File

@@ -66,6 +66,12 @@
"title": "Refresh",
"icon": "$(refresh)"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.information",
"title": "Information",
"icon": "$(info)"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.runAllWorkflows",
@@ -109,6 +115,10 @@
"command": "githubLocalActions.refreshComponents",
"when": "never"
},
{
"command": "githubLocalActions.information",
"when": "never"
},
{
"command": "githubLocalActions.runAllWorkflows",
"when": "never"
@@ -162,6 +172,11 @@
}
],
"view/item/context": [
{
"command": "githubLocalActions.information",
"when": "view == components && viewItem =~ /^githubLocalActions.component.*/",
"group": "inline@0"
},
{
"command": "githubLocalActions.openWorkflow",
"when": "view == workflows && viewItem =~ /^githubLocalActions.workflow.*/",