github / github/vscode-github-actions

Cannot log in to GitHub actions

Open
#251 40 comments 22 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
660
Forks
213
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
It is not possible to log in to Github actions. Even if I try to with the refresh button, it won't work.

**To Reproduce**
Steps to reproduce the behavior:
1. Open Github Actions extension
2. Click on log in
3. Afterwards it will show up in the extension that it was `Unable to connect to the GitHub API, please check your internet connection.`
4. (Optional) See error in the output log when you click on refresh button in the extension `Cannot fetch github context
Error: Cannot fetch github context`

**Expected behavior**
I expected to be logged in to my GitHub account and se my actions in the repository I'm working on

**Screenshots**

From the output log
![Skärmavbild 2023-08-21 kl 16 27 05](https://github.com/github/vscode-github-actions/assets/82944718/468f05c2-b062-4683-85a9-c77e7cc51efb)

From the extension
![Skärmavbild 2023-08-21 kl 16 26 48](https://github.com/github/vscode-github-actions/assets/82944718/8adb7026-5fa6-4798-867e-ee64d7d8f0b1)

**Extension Version**
`v0.26.1`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the login flow in the GitHub Actions extension and inspect the output log after clicking refresh. Trace the reported “Cannot fetch github context” failure and verify that login succeeds and repository actions appear in the extension.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript, vscode
Domain
authentication, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.