Skip to content

fix(publish): pin GH_REPO in finalize-release - #246

Merged
sebasnallar merged 1 commit into
betafrom
fix/finalize-gh-repo
Sep 7, 2026
Merged

sebasnallar merged 1 commit into
betafrom
fix/finalize-gh-repo

Conversation

@sebasnallar

Copy link
Copy Markdown
Contributor

The v1.16.1 backfill (run 34124727014) finally got everything green — all three images pushed under the hyphen names, all three artifacts registered — and then finalize-release died with failed to run git: fatal: not a git repository: the job has no checkout, and gh release create/edit infers the repository from git when GH_REPO isn't set. (Every earlier run skipped this job, so the bug never had a chance to fire.)

One-line fix: GH_REPO: ${{ github.repository }} in the job env. The gh api repos/$GITHUB_REPOSITORY/… calls never needed it; the gh release porcelain does.

v1.16.1 itself is already recovered: I created the release manually with that run's exact digests (containers 912b877e…, scheduled-task c2604ce5…, containers-datadog 47c5b1a9…). The digest guard in the workflow keeps any future re-run idempotent against it.

🤖 Generated with Claude Code

… infer the repo

The finalize job never checks out, so gh release create/edit died with
'not a git repository' on the first run where it actually executed
(v1.16.1 backfill — builds and registrations all green). GH_REPO makes
gh target the repo explicitly. The v1.16.1 release was created manually
with that run's digests; the guard keeps re-runs idempotent.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@sebasnallar
sebasnallar merged commit 15e6419 into beta Sep 7, 2026
3 checks passed
@sebasnallar
sebasnallar deleted the fix/finalize-gh-repo branch September 7, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants