Title: Workflow dispatch fails for workflows in git submodules · Issue #596 · github/vscode-github-actions · GitHub
Open Graph Title: Workflow dispatch fails for workflows in git submodules · Issue #596 · github/vscode-github-actions
X Title: Workflow dispatch fails for workflows in git submodules · Issue #596 · github/vscode-github-actions
Description: Describe the bug When attempting to trigger a GitHub Actions workflow located in a git submodule (e.g., host/.github/workflows/deploy.yml), the extension fails with a 404 "Not Found" error. The extension incorrectly attempts to dispatch ...
Open Graph Description: Describe the bug When attempting to trigger a GitHub Actions workflow located in a git submodule (e.g., host/.github/workflows/deploy.yml), the extension fails with a 404 "Not Found" error. The ext...
X Description: Describe the bug When attempting to trigger a GitHub Actions workflow located in a git submodule (e.g., host/.github/workflows/deploy.yml), the extension fails with a 404 "Not Found" erro...
Opengraph URL: https://github.com/github/vscode-github-actions/issues/596
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Workflow dispatch fails for workflows in git submodules","articleBody":"**Describe the bug**\nWhen attempting to trigger a GitHub Actions workflow located in a git submodule (e.g., `host/.github/workflows/deploy.yml`), the extension fails with a 404 \"Not Found\" error. The extension incorrectly attempts to dispatch the workflow to the parent repository instead of the submodule's separate GitHub repository.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Have a git repository with a submodule that has its own separate GitHub repository\n2. The submodule contains GitHub Actions workflows in `.github/workflows/`\n3. Open the workflow file in VSCode\n4. Right-click and select \"Trigger Run\" or use the GitHub Actions explorer\n5. See error: `404 Not Found` or similar repository not found error\n\n**Expected behavior**\nThe extension should:\n1. Detect that the workflow is located in a git submodule\n2. Identify the correct GitHub repository for that submodule\n3. Dispatch the workflow to the correct repository, not the parent\n\n**Screenshots**\nThe error appears in the VSCode debug console when attempting to dispatch a workflow in the web submodule:\n\u003cimg width=\"1310\" height=\"538\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/6f780614-79ea-4fc3-9d2d-a9c388b53d2e\" />\nThe extension is attempting to dispatch to the parent repository instead of the submodule's separate GitHub repository.\n\nA user-facing error notification is displayed:\n\u003cimg width=\"464\" height=\"137\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/cfe718c8-f290-445d-bf8d-59a5a2d79c19\" />\n\n**Note:** Request IDs and repository names in the screenshot have been redacted for privacy.\n\n**Extension Version**\n`v0.31.5`\n\n**Additional context**\nThis occurs in monorepo setups where submodules are separate GitHub repositories with their own workflows.\n```\nmonorepo/ (Parent repo: github.com/owner/monorepo)\n└── submodule/ (Submodule: github.com/owner/submodule)\n └── .github/workflows/\n └── deploy.yml ← Should dispatch to submodule repo\n```\n\nThe extension's workflow dispatch logic needs to be aware of git submodules and route dispatch requests to the appropriate repository.\n","author":{"url":"https://github.com/bpmiranda3099","@type":"Person","name":"bpmiranda3099"},"datePublished":"2026-05-25T13:19:54Z","url":"https://github.com/github/vscode-github-actions/issues/596"}
| 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:ba0ad630-14d5-74b0-110e-adfc37e769c8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E6C4:3FAC3:2B2349:3EA7B7:6AFD7C08 |
| html-safe-nonce | 85e28a54d888df543867166271378cce3969a6847baad6bb9586b419ae12a25e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkM0OjNGQUMzOjJCMjM0OTozRUE3Qjc6NkFGRDdDMDgiLCJ2aXNpdG9yX2lkIjoiMzkzOTAxOTg3MzA5NDMwMjcyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1f79017d9c37e0796c2e31703567c0f8fc24cba2ba8e1bc589713ec8a758ff52 |
| hovercard-subject-tag | issue:4517197516 |
| 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/596/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bd36592a5b10b904fc3d17dd23d67df876a34e3028c04ee9d35cd6b410d3b748/github/vscode-github-actions/issues/596 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bd36592a5b10b904fc3d17dd23d67df876a34e3028c04ee9d35cd6b410d3b748/github/vscode-github-actions/issues/596 |
| og:image:alt | Describe the bug When attempting to trigger a GitHub Actions workflow located in a git submodule (e.g., host/.github/workflows/deploy.yml), the extension fails with a 404 "Not Found" error. The ext... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bpmiranda3099 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 544ff6b59bd215c4609120f6e334dbd0b00d34fb6f8bc03a476f72256998887e |
| 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 | 71c92f8b27ec5e9aa6f6477b4e067a4727fc9edb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width