From 7a479531c580311a36a6df1b13390819df2b2312 Mon Sep 17 00:00:00 2001 From: Adrian Bienkowski Date: Tue, 18 Aug 2026 08:57:33 -0400 Subject: [PATCH] fix: pass --repo to gh release edit in publish-release job The publish-release job has no checkout step, so gh CLI cannot infer the target repository from git context: failed to run git: fatal: not a git repository (or any of the parent directories): .git This was the third and final blocker in the release pipeline (after #15's npm ci fix and #16's Quint install fix). v0.2.7 was manually published via 'gh release edit' after confirming all its artifacts (Go/Rust/TS binaries+archive, 6 SBOMs, Cosign signatures, public GHCR images) were already valid. This fix ensures the *next* release (v0.2.8+) auto-publishes without manual intervention. --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eab96d0..8440500 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -277,6 +277,7 @@ jobs: - name: Publish release run: | gh release edit "${{ needs.version.outputs.tag }}" \ + --repo "${{ github.repository }}" \ --draft=false \ --prerelease=false env: