Skip to content

Commit 93e7392

Browse files
authored
Merge pull request #88 from github/cschleiden/remove-duplicate-command
Remove duplicate workflow open command
2 parents aa9717d + 779ecd1 commit 93e7392

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

package.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@
112112
"command": "github-actions.workflow.run.open",
113113
"category": "GitHub Actions",
114114
"title": "Open workflow run",
115-
"when": "viewItem =~ /run/"
115+
"when": "viewItem =~ /run/",
116+
"icon": "$(globe)"
116117
},
117118
{
118119
"command": "github-actions.workflow.logs",
@@ -222,11 +223,6 @@
222223
"category": "GitHub Actions",
223224
"title": "Unpin workflow",
224225
"icon": "$(pinned)"
225-
},
226-
{
227-
"command": "github-actions.workflow.run.open",
228-
"title": "Open in browser",
229-
"icon": "$(globe)"
230226
}
231227
],
232228
"views": {
@@ -308,7 +304,8 @@
308304
},
309305
{
310306
"command": "github-actions.workflow.run.open",
311-
"when": "viewItem =~ /run/"
307+
"when": "viewItem =~ /run\\s/",
308+
"group": "inline"
312309
},
313310
{
314311
"command": "github-actions.workflow.logs",
@@ -367,11 +364,6 @@
367364
"command": "github-actions.settings.variable.copy-value",
368365
"when": "viewItem == 'repo-variable' || viewItem == 'env-variable' || viewItem == 'org-variable'",
369366
"group": "context"
370-
},
371-
{
372-
"command": "github-actions.workflow.run.open",
373-
"when": "viewItem =~ /run\\s/",
374-
"group": "inline"
375367
}
376368
],
377369
"commandPalette": [

0 commit comments

Comments
 (0)