vscode-github-actions icon indicating copy to clipboard operation
vscode-github-actions copied to clipboard

Not prompted to allow github access

Open MikhaD opened this issue 3 years ago • 3 comments

I followed steps 1 and 2 in the installation process but U have not been prompted to "allow GitHub Actions to access your github account". I can't find any information on how to proceed. As it is the extension does nothing. I thought I'd ask what is going on here first instead of leaving a bad review in case I'm missing something.

MikhaD avatar Nov 09 '21 09:11 MikhaD

Having the same issue... shame can't do anything with this extension at this point

sweepy84 avatar Jan 20 '22 05:01 sweepy84

Sorry for the delay, life got in the way. Could you try v0.22.0 to see if that fixes things? Looks like there were some changes in how the VSCode Git extensions initializes itself and I had to react to that.

cschleiden avatar Feb 01 '22 15:02 cschleiden

I'm running into the same issue.

I open a repo that uses an SSH URL to github on it's origin remote, but never get a prompt inside VSCode to authorize.

I do, however, get an error message (pop-up notification in the bottom right of VSCode and in the "Workflows" section of the extension stating:

Resource protected by organization SAML enforcement. You must grant your OAuth token access to this organization.

Which makes some sense, since my organization does use SSO.

Any help would be great! Thanks in advance!

VSCode version: Version: 1.70.0 Commit: da76f93349a72022ca4670c1b84860304616aaa2 GitHub Actions extension version: v0.24.2

jonfuller avatar Aug 11 '22 12:08 jonfuller

I'm having the same issue. I'm using on my personal machine where there are no account/company related restrictions. The repo is cloned with SSH

Edit: I just re-cloned my repo over HTTPS instead of SSH and I didn't get the notification doing it this way either

Edit 2: I just had to click on the GitHub Actions tab on the left and that's when it prompted me to authorise my GitHub account so is resolved for me at least :)

DanJBower avatar Dec 20 '22 20:12 DanJBower

The way I got around this was by manually triggering this system command: github-actions.auth.org-login (by adding a keyboard shortcut to it). i.e. Screenshot 2023-03-16 at 15 52 14

N.B. There might be a better way to execute system commands.

jvm986 avatar Mar 16 '23 14:03 jvm986

We have changed the login flow slightly, please take another look and open another issue if you're still hitting this.

cschleiden avatar Mar 22 '23 18:03 cschleiden