Workflow dispatch fails for workflows in git submodules
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Pouca atividade
- Stack de tecnologia
- git, github-actions, typescript, vscode
Direção de pesquisa
Reproduza a falha com um repositório pai contendo um workflow de submodule em .github/workflows/deploy.yml, usando Trigger Run ou o explorador do GitHub Actions. Rastreie o caminho de workflow-dispatch e como o repositório do arquivo aberto é identificado. Está concluído quando o dispatch tem como destino o repositório do submodule e o 404 não ocorre mais.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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 the workflow to the parent repository instead of the submodule's separate GitHub repository.
To Reproduce
Steps to reproduce the behavior:
- Have a git repository with a submodule that has its own separate GitHub repository
- The submodule contains GitHub Actions workflows in
.github/workflows/ - Open the workflow file in VSCode
- Right-click and select "Trigger Run" or use the GitHub Actions explorer
- See error:
404 Not Foundor similar repository not found error
Expected behavior
The extension should:
- Detect that the workflow is located in a git submodule
- Identify the correct GitHub repository for that submodule
- Dispatch the workflow to the correct repository, not the parent
Screenshots
The error appears in the VSCode debug console when attempting to dispatch a workflow in the web submodule:
The extension is attempting to dispatch to the parent repository instead of the submodule's separate GitHub repository.
A user-facing error notification is displayed:
Note: Request IDs and repository names in the screenshot have been redacted for privacy.
Extension Version
v0.31.5
Additional context
This occurs in monorepo setups where submodules are separate GitHub repositories with their own workflows.
monorepo/ (Parent repo: github.com/owner/monorepo)
└── submodule/ (Submodule: github.com/owner/submodule)
└── .github/workflows/
└── deploy.yml ← Should dispatch to submodule repo
The extension's workflow dispatch logic needs to be aware of git submodules and route dispatch requests to the appropriate repository.
- Linguagem predominante
- TypeScript
- Estrelas
- 661
- Forks
- 214
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/vscode-github-actions
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
github/vscode-github-actions#627 · 1 reação ·
-
long work Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
github/vscode-github-actions#628 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
github/vscode-github-actions#625 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 64/100
github/vscode-github-actions#621 · 3 comentários ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 50/100
github/vscode-github-actions#619 ·
Todas as issues de github/vscode-github-actions
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
bug v2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
modelcontextprotocol/inspector#2458 · 1 comentário ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
carbon-design-system/ibm-products#9907 ·