Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Workflow dispatch fails for workflows in git submodules

Offen
#596 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
git, github-actions, typescript, vscode
Bereich
ci-cd, devtools

Rechercherichtung

Reproduziere den Fehler mit einem übergeordneten Repository, das einen Submodul-Workflow unter .github/workflows/deploy.yml enthält, unter Verwendung von Trigger Run oder dem GitHub Actions explorer. Verfolge den workflow-dispatch-Pfad und, wie das Repository der geöffneten Datei identifiziert wird. Als erledigt gilt die Aufgabe, wenn der Dispatch auf das Submodul-Repository zielt und der 404 nicht mehr auftritt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug

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:

  1. Have a git repository with a submodule that has its own separate GitHub repository
  2. The submodule contains GitHub Actions workflows in .github/workflows/
  3. Open the workflow file in VSCode
  4. Right-click and select "Trigger Run" or use the GitHub Actions explorer
  5. See error: 404 Not Found or similar repository not found error

Expected behavior
The extension should:

  1. Detect that the workflow is located in a git submodule
  2. Identify the correct GitHub repository for that submodule
  3. 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:
Image
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:
Image

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.

Vorherrschende Sprache
TypeScript
Sterne
661
Forks
214
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/vscode-github-actions

Alle Issues in github/vscode-github-actions

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.