Title: GHE.com support broken for SSH/Git remote URLs · Issue #502 · github/vscode-github-actions · GitHub
Open Graph Title: GHE.com support broken for SSH/Git remote URLs · Issue #502 · github/vscode-github-actions
X Title: GHE.com support broken for SSH/Git remote URLs · Issue #502 · github/vscode-github-actions
Description: Describe the bug It appears that the implementation of #457 through #458 was broken by #469 if you are not using http remote urls and instead use the SSH/Git remote urls, e.g.
Open Graph Description: Describe the bug It appears that the implementation of #457 through #458 was broken by #469 if you are not using http remote urls and instead use the SSH/Git remote urls, e.g.
X Description: Describe the bug It appears that the implementation of #457 through #458 was broken by #469 if you are not using http remote urls and instead use the SSH/Git remote urls, e.g. <company>@<c...
Opengraph URL: https://github.com/github/vscode-github-actions/issues/502
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"GHE.com support broken for SSH/Git remote URLs","articleBody":"**Describe the bug**\n\nIt appears that the implementation of https://github.com/github/vscode-github-actions/issues/457 through https://github.com/github/vscode-github-actions/pull/458 was broken by https://github.com/github/vscode-github-actions/pull/469 if you are not using http remote urls and instead use the SSH/Git remote urls, e.g. `\u003ccompany>@\u003ccompany>.ghe.com:org/repo.git`.\n\nLog output:\n\n```\nActivating GitHub Actions extension...\nError getting GitHub context\nInvalid URL\nTypeError: Invalid URL\n\tat new URL (node:internal/url:818:25)\n\tat /home/gustav/.vscode-server/extensions/github.vscode-github-actions-0.27.2/dist/extension-node.js:1:1158030\n\tat async Promise.all (index 0)\n\tat async /home/gustav/.vscode-server/extensions/github.vscode-github-actions-0.27.2/dist/extension-node.js:1:1157669\n\tat async De (/home/gustav/.vscode-server/extensions/github.vscode-github-actions-0.27.2/dist/extension-node.js:1:1157518)\n\tat async os (/home/gustav/.vscode-server/extensions/github.vscode-github-actions-0.27.2/dist/extension-node.js:1:1339675)\n\tat async db.n (file:///home/gustav/.vscode-server/bin/488a1f239235055e34e673291fb8d8c810886f81/out/vs/workbench/api/node/extensionHostProcess.js:112:13386)\n\tat async db.m (file:///home/gustav/.vscode-server/bin/488a1f239235055e34e673291fb8d8c810886f81/out/vs/workbench/api/node/extensionHostProcess.js:112:13349)\n\tat async db.l (file:///home/gustav/.vscode-server/bin/488a1f239235055e34e673291fb8d8c810886f81/out/vs/workbench/api/node/extensionHostProcess.js:112:12805)\n\n```\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Set up a repo on a ghe.com instance. Add VS Code settings as follow: \n ```json\n {\n \"github-enterprise.uri\": \"https://\u003ccompany>.ghe.com\",\n \"github-actions.use-enterprise\": true\n }\n ```\n2. Check out the repository using the git/ssh remote:\n ```sh\n git clone \u003ccompany>@\u003ccompany>.ghe.com:org/repo.git\n ```\n3. The Github Actions extension will fail to initialize due to [`URL` failing to parse](https://github.com/github/vscode-github-actions/blob/8850a664b7dfd05efca1e00adc0d338f5ce296ab/src/git/repository.ts#L81) `\u003ccompany>@\u003ccompany>.ghe.com:org/repo.git` as a URL which then throws an error which is not handled. \n\n**Screenshots**\n\n\n**Extension Version**\n`v0.27.2`\n\n**Additional context**\n\n","author":{"url":"https://github.com/gustavkj","@type":"Person","name":"gustavkj"},"datePublished":"2025-08-13T12:06:42Z","url":"https://github.com/github/vscode-github-actions/issues/502"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9f7dc940-51b7-6bfd-3db7-a171aac33cdf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D5F6:341258:22FF02:3089E1:6AFD81A9 |
| html-safe-nonce | d665e0c6c02cf3151bf322fefaf9a7b131e0bf28cceee9aa03ed5cca3e9121fc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUY2OjM0MTI1ODoyMkZGMDI6MzA4OUUxOjZBRkQ4MUE5IiwidmlzaXRvcl9pZCI6IjM3NjU5NjIzNDc4MTQ2ODMwNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ac933cb3483a088663668a725c04b6cfdc09d8b10cf6a467f092ac1a8e6ac431 |
| hovercard-subject-tag | issue:3318198476 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/vscode-github-actions/502/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c3c59d8f91cc8f18df12a2735b63004e04893581961e57b8e0dd5ef3c9acb5cc/github/vscode-github-actions/issues/502 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c3c59d8f91cc8f18df12a2735b63004e04893581961e57b8e0dd5ef3c9acb5cc/github/vscode-github-actions/issues/502 |
| og:image:alt | Describe the bug It appears that the implementation of #457 through #458 was broken by #469 if you are not using http remote urls and instead use the SSH/Git remote urls, e.g. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gustavkj |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/vscode-github-actions git https://github.com/github/vscode-github-actions.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 616663763 |
| octolytics-dimension-repository_nwo | github/vscode-github-actions |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 616663763 |
| octolytics-dimension-repository_network_root_nwo | github/vscode-github-actions |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width