From 28c6503be1a46d8b547014e2c5ad097faa5d2475 Mon Sep 17 00:00:00 2001 From: Brian Jin <35789537+kikashy@users.noreply.github.com> Date: Thu, 23 Jul 2026 16:09:22 -0400 Subject: [PATCH] fix(ci): set GH_REPO in the draft-release step The attest-and-draft job has no repository checkout (it only consumes the packaged artifact), so `gh release create` failed with "fatal: not a git repository" because gh could not resolve the target repo. Set GH_REPO explicitly from github.repository. Co-Authored-By: Claude Opus 4.8 (1M context) Signed-off-by: Brian Jin <35789537+kikashy@users.noreply.github.com> --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b704c4..638061a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -216,6 +216,10 @@ jobs: shell: bash env: GH_TOKEN: ${{ github.token }} + # This job intentionally has no repository checkout (it only consumes + # the packaged artifact), so `gh` cannot infer the repository from a + # git remote. Set it explicitly. + GH_REPO: ${{ github.repository }} run: | shopt -s nullglob assets=(dist/*.tar.gz dist/*.zip dist/checksums.txt)