Closed tysonite closed 4 years ago
Oh that's pretty rough. Maybe let's add a workflow scope to it.
@RMacfarlane How easy is it to redefine the scopes for an existing credential, which users might already have cached?
Unfortunately it's not possible to modify an existing token to add scopes, a new one has to be requested with the additional scopes
@RMacfarlane What I meant to ask was: users will simply get asked to go through the flow once again if I change the scopes here, right? https://github.com/microsoft/vscode/blob/master/extensions/git/src/github.ts#L23-L23
Yep, that's correct!
Whats the process for registering VSCode as an OAuth app?
@JacksonKearl This is the automatic git auth in VS Code: if you try to pull/push from a git repo using HTTPS, authentication will happen automatically with the GH auth provider.
Steps:
Havent been able to repro the initial error in Stable. Steps:
In a VM without my git auth already registered:
This is on Windows 10
Maybe it's specific to the workflow or to our auth. I also didn't repro before the change.
Marking as verified.
I have the same issue when using Visual Studio CodeSpaces. I've cloned a repo with a workflow file, made a change to the workflow file and now get the error on push that my OAuth App doesn't have the workflow scope.
Issue Type: Bug
.github/workflows/<any_file>
Error will appear:
VS Code version: Code 1.45.0 (d69a79b73808559a91206d73d7717ff5f798f23c, 2020-05-07T16:18:48.860Z) OS version: Windows_NT x64 10.0.18363 Remote OS version: Linux x64 4.4.0-18362-Microsoft
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 x 2400)| |GPU Status|2d_canvas: enabledflash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|7.82GB (2.97GB free)| |Process Argv|| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-18.04| |OS|Linux x64 4.4.0-18362-Microsoft| |CPUs|Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 x 2400)| |Memory (System)|7.82GB (2.97GB free)| |VM|0%|
Extensions (4)
Extension|Author (truncated)|Version ---|---|--- python|ms-|2020.4.76186 remote-ssh|ms-|0.51.0 remote-ssh-edit|ms-|0.51.0 remote-wsl|ms-|0.44.2