You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I tried to configure the extension to work with my company's new Github instance, which is running on a subdomain of ghe.com.
I wonder if line 79 is correct here, I would expect the value from github-enterprise.uri to start with https:// and as such api. is prepended to the protocol 🤔 :
Signed into the Github Enterprise instance using the extension
All action references appear broken in the editor. In the output, I see:
Cannot fetch github context
Error: Cannot fetch github context
at Et (/home/<username>/.vscode-server/extensions/github.vscode-github-actions-0.27.1/dist/extension-node.js:2:1449407)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at /home/<username>/.vscode-server/extensions/github.vscode-github-actions-0.27.1/dist/extension-node.js:2:1630467
at kw.h (file:///home/<username>/.vscode-server/bin/ddc367ed5c8936efe395cffeec279b04ffd7db78/out/vs/workbench/api/node/extensionHostProcess.js:112:41551)
at /home/<username>/.vscode-server/extensions/github.vscode-github-actions-0.27.1/dist/extension-node.js:2:1629251
Expected behavior
That it would work with the Github Enterprise instance.
Screenshots
If applicable, add screenshots to help explain your problem.
Extension Version v0.27.1
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I've cloned the repo and started debugging the code. The issue with the base variable being incorrectly changed holds true, but there are more issues. E.g. line 81 in repository.ts causes issues since .host then does not match the content of the pushUrl (i.e. the api subdomain is not part of the host used for the remote, e.g. <company>@<company>.ghe.com:<org>/<repo>.git):
Describe the bug
I tried to configure the extension to work with my company's new Github instance, which is running on a subdomain of
ghe.com
.I wonder if line 79 is correct here, I would expect the value from
github-enterprise.uri
to start withhttps://
and as suchapi.
is prepended to the protocol 🤔 :vscode-github-actions/src/configuration/configuration.ts
Lines 71 to 83 in 0842e0d
To Reproduce
Steps to reproduce the behavior:
settings.json
:Expected behavior
That it would work with the Github Enterprise instance.
Screenshots
If applicable, add screenshots to help explain your problem.
Extension Version
v0.27.1
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: