Skip to content

Commit b9518c3

Browse files
authored
fix: correctly store github token in secret storage, and migrate existing ones (#2)
I misunderstood how to store values with extensions, and now realised there's this better api for storing the secrets securely so have migrated to that api
1 parent 810629b commit b9518c3

File tree

2 files changed

+394
-227
lines changed

2 files changed

+394
-227
lines changed

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
"command": "github-workflow-updater.updateWorkflow",
2323
"title": "Update GitHub Workflow Actions",
2424
"icon": "$(sync)"
25+
},
26+
{
27+
"command": "github-workflow-updater.configureToken",
28+
"title": "Configure GitHub Token",
29+
"category": "GitHub Workflow Updater"
2530
}
2631
],
2732
"menus": {
@@ -36,12 +41,6 @@
3641
"configuration": {
3742
"title": "GitHub Workflow Updater",
3843
"properties": {
39-
"github-workflow-updater.githubToken": {
40-
"type": "string",
41-
"default": "",
42-
"description": "GitHub Personal Access Token for accessing private repositories",
43-
"scope": "application"
44-
},
4544
"github-workflow-updater.suppressTokenWarning": {
4645
"type": "boolean",
4746
"default": false,

0 commit comments

Comments
 (0)