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

@@ -12,7 +12,7 @@ export default class WorkflowTreeItem extends TreeItem implements GithubLocalAct
this.contextValue = WorkflowTreeItem.contextValue;
this.iconPath = new ThemeIcon('layers');
this.tooltip = `Name: ${workflow.name}\n` +
`Path: ${workflow.path}`;
`Path: ${workflow.uri.fsPath}`;
if(workflow.error) {
this.resourceUri = Uri.parse(`${WorkflowTreeItem.contextValue}:${workflow.name}?error=${workflow.error}`, true);