|
7 | 7 | "url": "https://github.com/cschleiden/vscode-github-actions" |
8 | 8 | }, |
9 | 9 | "description": "See GitHub Actions workflows and runs for github.com hosted repositories in VS Code", |
10 | | - "version": "0.6.0", |
| 10 | + "version": "0.7.0", |
11 | 11 | "engines": { |
12 | | - "vscode": "^1.44.0" |
| 12 | + "vscode": "^1.48.0" |
13 | 13 | }, |
14 | 14 | "categories": [ |
15 | 15 | "Other" |
16 | 16 | ], |
17 | 17 | "activationEvents": [ |
18 | | - "onCommand:auth.login", |
19 | 18 | "onView:workflows", |
20 | 19 | "onView:settings", |
21 | 20 | "workspaceContains:**/.github/workflows/**" |
22 | 21 | ], |
23 | 22 | "main": "./dist/extension", |
24 | 23 | "extensionDependencies": [ |
25 | | - "vscode.git" |
| 24 | + "vscode.git", |
| 25 | + "vscode.github-authentication" |
26 | 26 | ], |
27 | 27 | "contributes": { |
28 | 28 | "configuration": { |
|
44 | 44 | "description": "Time to wait between calls to update pinned workflows in seconds", |
45 | 45 | "default": 30, |
46 | 46 | "scope": "window" |
| 47 | + }, |
| 48 | + "github-actions.org-features": { |
| 49 | + "type": "boolean", |
| 50 | + "description": "Whether org features should be enabled. Requires the `admin:org` scope", |
| 51 | + "default": false, |
| 52 | + "scope": "machine" |
47 | 53 | } |
48 | 54 | } |
49 | 55 | }, |
50 | 56 | "commands": [ |
51 | 57 | { |
52 | | - "command": "auth.login", |
| 58 | + "command": "github-actions.auth.org-login", |
| 59 | + "category": "GitHub Actions", |
53 | 60 | "title": "Login", |
54 | | - "category": "GitHub Actions" |
| 61 | + "when": "false" |
55 | 62 | }, |
56 | 63 | { |
57 | | - "command": "explorer.refresh", |
| 64 | + "command": "github-actions.explorer.refresh", |
| 65 | + "category": "GitHub Actions", |
58 | 66 | "title": "Refresh", |
59 | 67 | "icon": { |
60 | 68 | "dark": "resources/icons/dark/refresh.svg", |
61 | 69 | "light": "resources/icons/light/refresh.svg" |
62 | 70 | } |
63 | 71 | }, |
64 | 72 | { |
65 | | - "command": "explorer.openRun", |
| 73 | + "command": "github-actions.explorer.openRun", |
| 74 | + "category": "GitHub Actions", |
66 | 75 | "title": "Open workflow run", |
67 | 76 | "when": "viewItem =~ /workflow/" |
68 | 77 | }, |
69 | 78 | { |
70 | | - "command": "explorer.openWorkflowFile", |
| 79 | + "command": "github-actions.explorer.openWorkflowFile", |
| 80 | + "category": "GitHub Actions", |
71 | 81 | "title": "Open workflow", |
72 | 82 | "when": "viewItem =~ /workflow/" |
73 | 83 | }, |
74 | 84 | { |
75 | | - "command": "explorer.triggerRun", |
| 85 | + "command": "github-actions.explorer.triggerRun", |
| 86 | + "category": "GitHub Actions", |
76 | 87 | "title": "Trigger workflow", |
77 | 88 | "when": "viewItem =~ /workflow/ && viewItem =~ /rdispatch/", |
78 | 89 | "icon": { |
|
81 | 92 | } |
82 | 93 | }, |
83 | 94 | { |
84 | | - "command": "workflow.run.open", |
| 95 | + "command": "github-actions.workflow.run.open", |
| 96 | + "category": "GitHub Actions", |
85 | 97 | "title": "Open workflow run", |
86 | 98 | "when": "viewItem =~ /run/" |
87 | 99 | }, |
88 | 100 | { |
89 | | - "command": "workflow.logs", |
| 101 | + "command": "github-actions.workflow.logs", |
| 102 | + "category": "GitHub Actions", |
90 | 103 | "title": "View logs", |
91 | 104 | "when": "viewItem =~ /job/ || viewItem =~ /step/", |
92 | 105 | "icon": { |
|
95 | 108 | } |
96 | 109 | }, |
97 | 110 | { |
98 | | - "command": "workflow.run.rerun", |
| 111 | + "command": "github-actions.workflow.run.rerun", |
| 112 | + "category": "GitHub Actions", |
99 | 113 | "title": "Rerun workflow run", |
100 | 114 | "when": "viewItem =~ /run/ && viewItem =~ /rerunnable/" |
101 | 115 | }, |
102 | 116 | { |
103 | | - "command": "workflow.run.cancel", |
| 117 | + "command": "github-actions.workflow.run.cancel", |
| 118 | + "category": "GitHub Actions", |
104 | 119 | "title": "Cancel workflow run", |
105 | 120 | "when": "viewItem =~ /run/ && viewItem =~ /cancelable/" |
106 | 121 | }, |
107 | 122 | { |
108 | | - "command": "settings.secrets.manage", |
| 123 | + "command": "github-actions.settings.secrets.manage", |
| 124 | + "category": "GitHub Actions", |
109 | 125 | "title": "Add new secret", |
110 | 126 | "icon": "$(globe)" |
111 | 127 | }, |
112 | 128 | { |
113 | | - "command": "settings.secret.add", |
| 129 | + "command": "github-actions.settings.secret.add", |
| 130 | + "category": "GitHub Actions", |
114 | 131 | "title": "Add new secret", |
115 | 132 | "icon": { |
116 | 133 | "dark": "resources/icons/dark/add.svg", |
117 | 134 | "light": "resources/icons/light/add.svg" |
118 | 135 | } |
119 | 136 | }, |
120 | 137 | { |
121 | | - "command": "settings.secret.copy", |
| 138 | + "command": "github-actions.settings.secret.copy", |
| 139 | + "category": "GitHub Actions", |
122 | 140 | "title": "Copy secret name" |
123 | 141 | }, |
124 | 142 | { |
125 | | - "command": "settings.secret.update", |
| 143 | + "command": "github-actions.settings.secret.update", |
| 144 | + "category": "GitHub Actions", |
126 | 145 | "title": "Update secret", |
127 | 146 | "icon": { |
128 | 147 | "dark": "resources/icons/dark/edit.svg", |
129 | 148 | "light": "resources/icons/light/edit.svg" |
130 | 149 | } |
131 | 150 | }, |
132 | 151 | { |
133 | | - "command": "settings.secret.delete", |
| 152 | + "command": "github-actions.settings.secret.delete", |
| 153 | + "category": "GitHub Actions", |
134 | 154 | "title": "Delete secret", |
135 | 155 | "icon": { |
136 | 156 | "dark": "resources/icons/dark/remove.svg", |
|
139 | 159 | } |
140 | 160 | ], |
141 | 161 | "views": { |
142 | | - "actions": [ |
| 162 | + "github-actions": [ |
143 | 163 | { |
144 | | - "id": "workflows", |
| 164 | + "id": "github-actions.workflows", |
145 | 165 | "name": "Workflows" |
146 | 166 | }, |
147 | 167 | { |
148 | | - "id": "settings", |
| 168 | + "id": "github-actions.settings", |
149 | 169 | "name": "Settings" |
150 | 170 | } |
151 | 171 | ] |
152 | 172 | }, |
153 | 173 | "viewsContainers": { |
154 | 174 | "activitybar": [ |
155 | 175 | { |
156 | | - "id": "actions", |
| 176 | + "id": "github-actions", |
157 | 177 | "title": "GitHub Actions", |
158 | 178 | "icon": "resources/icons/light/explorer.svg" |
159 | 179 | } |
|
162 | 182 | "menus": { |
163 | 183 | "view/title": [ |
164 | 184 | { |
165 | | - "command": "explorer.refresh", |
| 185 | + "command": "github-actions.explorer.refresh", |
166 | 186 | "group": "navigation", |
167 | | - "when": "view == workflows || view == settings" |
| 187 | + "when": "view == github-actions.workflows || view == github-actions.settings" |
168 | 188 | } |
169 | 189 | ], |
170 | 190 | "editor/title": [ |
171 | 191 | { |
172 | | - "command": "explorer.triggerRun", |
| 192 | + "command": "github-actions.explorer.triggerRun", |
173 | 193 | "when": "githubActions:activeFile =~ /rdispatch/ && resourceExtname =~ /\\.ya?ml/", |
174 | 194 | "group": "navigation" |
175 | 195 | } |
176 | 196 | ], |
177 | 197 | "view/item/context": [ |
178 | 198 | { |
179 | | - "command": "explorer.openWorkflowFile", |
| 199 | + "command": "github-actions.explorer.openWorkflowFile", |
180 | 200 | "when": "viewItem =~ /workflow/" |
181 | 201 | }, |
182 | 202 | { |
183 | | - "command": "explorer.triggerRun", |
| 203 | + "command": "github-actions.explorer.triggerRun", |
184 | 204 | "when": "viewItem =~ /rdispatch/" |
185 | 205 | }, |
186 | 206 | { |
187 | | - "command": "workflow.run.open", |
| 207 | + "command": "github-actions.workflow.run.open", |
188 | 208 | "when": "viewItem =~ /run/" |
189 | 209 | }, |
190 | 210 | { |
191 | | - "command": "workflow.logs", |
| 211 | + "command": "github-actions.workflow.logs", |
192 | 212 | "group": "inline", |
193 | 213 | "when": "viewItem =~ /job/ && viewItem =~ /completed/" |
194 | 214 | }, |
195 | 215 | { |
196 | | - "command": "workflow.run.cancel", |
| 216 | + "command": "github-actions.workflow.run.cancel", |
197 | 217 | "when": "viewItem =~ /run/ && viewItem =~ /cancelable/" |
198 | 218 | }, |
199 | 219 | { |
200 | | - "command": "workflow.run.rerun", |
| 220 | + "command": "github-actions.workflow.run.rerun", |
201 | 221 | "when": "viewItem =~ /run/ && viewItem =~ /rerunnable/" |
202 | 222 | }, |
203 | 223 | { |
204 | | - "command": "settings.secret.add", |
| 224 | + "command": "github-actions.settings.secret.add", |
205 | 225 | "group": "inline", |
206 | 226 | "when": "viewItem == 'secrets'" |
207 | 227 | }, |
208 | 228 | { |
209 | | - "command": "settings.secrets.manage", |
| 229 | + "command": "github-actions.settings.secrets.manage", |
210 | 230 | "group": "inline", |
211 | 231 | "when": "viewItem == 'org-secrets'" |
212 | 232 | }, |
213 | 233 | { |
214 | | - "command": "settings.secret.update", |
| 234 | + "command": "github-actions.settings.secret.update", |
215 | 235 | "when": "viewItem == 'secret'", |
216 | 236 | "group": "inline@1" |
217 | 237 | }, |
218 | 238 | { |
219 | | - "command": "settings.secret.copy", |
| 239 | + "command": "github-actions.settings.secret.copy", |
220 | 240 | "when": "viewItem == 'secret' || viewItem == 'org-secret'", |
221 | 241 | "group": "context" |
222 | 242 | }, |
223 | 243 | { |
224 | | - "command": "settings.secret.delete", |
| 244 | + "command": "github-actions.settings.secret.delete", |
225 | 245 | "when": "viewItem == 'secret'", |
226 | 246 | "group": "inline@2" |
227 | 247 | }, |
228 | 248 | { |
229 | | - "command": "explorer.triggerRun", |
| 249 | + "command": "github-actions.explorer.triggerRun", |
230 | 250 | "when": "viewItem =~ /workflow/ && viewItem =~ /rdispatch/", |
231 | 251 | "group": "inline@1" |
232 | 252 | } |
233 | 253 | ], |
234 | 254 | "commandPalette": [ |
235 | 255 | { |
236 | | - "command": "explorer.openWorkflowFile", |
| 256 | + "command": "github-actions.explorer.openWorkflowFile", |
237 | 257 | "when": "false" |
238 | 258 | }, |
239 | 259 | { |
240 | | - "command": "explorer.triggerRun", |
| 260 | + "command": "github-actions.explorer.triggerRun", |
241 | 261 | "when": "false" |
242 | 262 | }, |
243 | 263 | { |
244 | | - "command": "workflow.run.open", |
| 264 | + "command": "github-actions.workflow.run.open", |
245 | 265 | "when": "false" |
246 | 266 | }, |
247 | 267 | { |
248 | | - "command": "workflow.run.cancel", |
| 268 | + "command": "github-actions.workflow.run.cancel", |
249 | 269 | "when": "false" |
250 | 270 | }, |
251 | 271 | { |
252 | | - "command": "workflow.run.rerun", |
| 272 | + "command": "github-actions.workflow.run.rerun", |
253 | 273 | "when": "false" |
254 | 274 | }, |
255 | 275 | { |
256 | | - "command": "settings.secrets.manage", |
| 276 | + "command": "github-actions.settings.secrets.manage", |
257 | 277 | "when": "false" |
258 | 278 | }, |
259 | 279 | { |
260 | | - "command": "settings.secret.add", |
| 280 | + "command": "github-actions.settings.secret.add", |
261 | 281 | "when": "false" |
262 | 282 | }, |
263 | 283 | { |
264 | | - "command": "settings.secret.update", |
| 284 | + "command": "github-actions.settings.secret.update", |
265 | 285 | "when": "false" |
266 | 286 | }, |
267 | 287 | { |
268 | | - "command": "settings.secret.delete", |
| 288 | + "command": "github-actions.settings.secret.delete", |
269 | 289 | "when": "false" |
270 | 290 | } |
271 | 291 | ] |
|
284 | 304 | "devDependencies": { |
285 | 305 | "@types/glob": "^7.1.1", |
286 | 306 | "@types/js-yaml": "^3.12.1", |
287 | | - "@types/keytar": "^4.4.2", |
288 | 307 | "@types/mocha": "^5.2.7", |
289 | 308 | "@types/node": "^12.11.7", |
290 | 309 | "@types/uuid": "^3.4.6", |
291 | | - "@types/vscode": "1.44.0", |
| 310 | + "@types/vscode": "1.48.0", |
292 | 311 | "@types/yaml": "^1.2.0", |
293 | 312 | "glob": "^7.1.5", |
294 | 313 | "mocha": "^6.2.2", |
|
299 | 318 | "typescript": "^3.6.4", |
300 | 319 | "vsce": "1.75.0", |
301 | 320 | "vscode-test": "^1.2.2", |
302 | | - "webpack": "^4.41.5", |
| 321 | + "webpack": "^4.44.1", |
303 | 322 | "webpack-cli": "^3.3.10" |
304 | 323 | }, |
305 | 324 | "dependencies": { |
306 | 325 | "@octokit/rest": "^18.0.0", |
307 | 326 | "atob": "^2.1.2", |
308 | 327 | "btoa": "^1.2.1", |
309 | 328 | "js-yaml": "^3.13.1", |
310 | | - "keytar": "^5.0.0", |
311 | 329 | "ssh-config": "^3.0.0", |
312 | 330 | "tunnel": "0.0.6", |
313 | 331 | "tweetsodium": "0.0.4", |
|
0 commit comments