From e5fdb5b0fd159c0ea80e872ff2111b49391fbbc7 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Wed, 17 Sep 2025 11:05:22 -0700 Subject: [PATCH] fix: specify --repo when calling gh (#3806) Often, `gh` infers `--repo` when it is run from a Git clone, but our `publish-npm` step is designed to avoid the overhead of cloning the repo, so add the `--repo` option explicitly to fix things. --- .github/workflows/rust-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 8e6ac658..e3776f14 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -260,6 +260,7 @@ jobs: tag="${{ needs.release.outputs.tag }}" mkdir -p dist/npm gh release download "$tag" \ + --repo "${GITHUB_REPOSITORY}" \ --pattern "codex-npm-${version}.tgz" \ --dir dist/npm