Add run event

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
Sanjula Ganepola
2024-09-27 18:20:33 -04:00
parent 8e660a8069
commit d2fb99de18
4 changed files with 84 additions and 19 deletions

View File

@@ -72,6 +72,12 @@
"title": "Run All Workflows",
"icon": "$(run-all)"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.runEvent",
"title": "Run Event",
"icon": "$(symbol-event)"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.refreshWorkflows",
@@ -107,6 +113,10 @@
"command": "githubLocalActions.runAllWorkflows",
"when": "never"
},
{
"command": "githubLocalActions.runEvent",
"when": "never"
},
{
"command": "githubLocalActions.refreshWorkflows",
"when": "never"
@@ -136,10 +146,15 @@
"group": "navigation@0"
},
{
"command": "githubLocalActions.refreshWorkflows",
"command": "githubLocalActions.runEvent",
"when": "view == workflows",
"group": "navigation@1"
},
{
"command": "githubLocalActions.refreshWorkflows",
"when": "view == workflows",
"group": "navigation@2"
},
{
"command": "githubLocalActions.refreshSettings",
"when": "view == settings",
@@ -161,24 +176,24 @@
},
"colors": [
{
"id": "GitHubLocalActions.enabled",
"description": "Color for a component success state",
"id": "GitHubLocalActions.green",
"description": "Color for green in GitHub Local Actions extension",
"defaults": {
"dark": "#89d185",
"light": "#89d185"
}
},
{
"id": "GitHubLocalActions.warning",
"description": "Color for a component warning state",
"id": "GitHubLocalActions.yellow",
"description": "Color for yellow in GitHub Local Actions extension",
"defaults": {
"dark": "#cca700",
"light": "#cca700"
}
},
{
"id": "GitHubLocalActions.disabled",
"description": "Color for a component disabled state",
"id": "GitHubLocalActions.red",
"description": "Color for red in GitHub Local Actions extension",
"defaults": {
"dark": "#f48771",
"light": "#f48771"