Add actions to add and open secret, variable, and input files
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
79
package.json
79
package.json
@@ -240,6 +240,12 @@
|
||||
"title": "Refresh",
|
||||
"icon": "$(refresh)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.addSecretFiles",
|
||||
"title": "Add Secret Files",
|
||||
"icon": "$(add)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.show",
|
||||
@@ -252,12 +258,36 @@
|
||||
"title": "Hide",
|
||||
"icon": "$(eye-closed)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.addVariableFiles",
|
||||
"title": "Add Variable Files",
|
||||
"icon": "$(add)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.importFromGithub",
|
||||
"title": "Import from GitHub",
|
||||
"icon": "$(github)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.addInputFiles",
|
||||
"title": "Add Input Files",
|
||||
"icon": "$(add)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.openSettingFile",
|
||||
"title": "Open",
|
||||
"icon": "$(go-to-file)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.removeSettingFile",
|
||||
"title": "Remove",
|
||||
"icon": "$(close)"
|
||||
},
|
||||
{
|
||||
"category": "GitHub Local Actions",
|
||||
"command": "githubLocalActions.editSetting",
|
||||
@@ -352,6 +382,10 @@
|
||||
"command": "githubLocalActions.refreshSettings",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.addSecretFiles",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.show",
|
||||
"when": "never"
|
||||
@@ -360,10 +394,26 @@
|
||||
"command": "githubLocalActions.hide",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.addVariableFiles",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.importFromGithub",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.addInputFiles",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.openSettingFile",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.removeSettingFile",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.editSetting",
|
||||
"when": "never"
|
||||
@@ -495,6 +545,11 @@
|
||||
"when": "view == history && viewItem =~ /^githubLocalActions.history.*/",
|
||||
"group": "inline@3"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.addSecretFiles",
|
||||
"when": "view == settings && viewItem =~ /^githubLocalActions.secrets.*/",
|
||||
"group": "inline@0"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.show",
|
||||
"when": "view == settings && viewItem =~ /^githubLocalActions.secret(?!s)_hide.*/",
|
||||
@@ -506,13 +561,33 @@
|
||||
"group": "inline@0"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.importFromGithub",
|
||||
"command": "githubLocalActions.addVariableFiles",
|
||||
"when": "view == settings && viewItem =~ /^githubLocalActions.variables.*/",
|
||||
"group": "inline@0"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.importFromGithub",
|
||||
"when": "view == settings && viewItem =~ /^githubLocalActions.variables.*/",
|
||||
"group": "inline@1"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.addInputFiles",
|
||||
"when": "view == settings && viewItem =~ /^githubLocalActions.inputs.*/",
|
||||
"group": "inline@0"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.openSettingFile",
|
||||
"when": "view == settings && viewItem =~ /^githubLocalActions.(secret|variable|input)File.*/",
|
||||
"group": "inline@0"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.removeSettingFile",
|
||||
"when": "view == settings && viewItem =~ /^githubLocalActions.(secret|variable|input)File.*/",
|
||||
"group": "inline@1"
|
||||
},
|
||||
{
|
||||
"command": "githubLocalActions.editSetting",
|
||||
"when": "view == settings && viewItem =~ /^githubLocalActions.(secret|variable|input|runner)(?!s).*/",
|
||||
"when": "view == settings && viewItem =~ /^githubLocalActions.(secret|variable|input|runner)(?!(File|s)).*/",
|
||||
"group": "inline@1"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user