diff --git a/.github/scripts/enrich_manifest.py b/.github/scripts/enrich_manifest.py index d1013530e..2508f8f9b 100644 --- a/.github/scripts/enrich_manifest.py +++ b/.github/scripts/enrich_manifest.py @@ -31,7 +31,11 @@ def gh(*args: str) -> str: - return subprocess.check_output(["gh", *args], text=True) + # Always pass --repo so we don't depend on a .git in cwd + # (the workflow runs the script from a path without .git). + return subprocess.check_output( + ["gh", *args, "--repo", REPO], text=True + ) def list_dated_releases() -> list[dict]: