Add check for permission denied in Linux and add action to fix permissions
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
15
package.json
15
package.json
@@ -156,6 +156,12 @@
|
||||
"title": "Start",
|
||||
"icon": "$(debug-start)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.fixPermissions",
|
||||
"title": "Fix Permissions",
|
||||
"icon": "$(unlock)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.runAllWorkflows",
|
||||
@@ -366,6 +372,10 @@
|
||||
"command": "githubLocalActions.startComponent",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.fixPermissions",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.runAllWorkflows",
|
||||
"when": "never"
|
||||
@@ -555,6 +565,11 @@
|
||||
"when": "view == components && viewItem =~ /^githubLocalActions.component_Not Running.*/",
|
||||
"group": "inline@1"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.fixPermissions",
|
||||
"when": "view == components && viewItem =~ /^githubLocalActions.component_Invalid Permissions.*/",
|
||||
"group": "inline@1"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.runAllWorkflows",
|
||||
"when": "view == workflows && viewItem =~ /^githubLocalActions.workspaceFolderWorkflows.*/ && workspaceFolderCount > 1",
|
||||
|
||||
Reference in New Issue
Block a user