Skip to content

ci: let the release check find draft releases - #483

Merged
kostyafarber merged 2 commits into
mainfrom
fix/release-resolve-repo
Oct 1, 2026
Merged

kostyafarber merged 2 commits into
mainfrom
fix/release-resolve-repo

Conversation

@kostyafarber

@kostyafarber kostyafarber commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The release workflow's Resolve release job could never see the draft release it checks, so the v0.1.1 release stopped before any build ran (run 36904173575). Both causes surfaced as the misleading "already public" error:

  • The job calls gh release view without a checkout, so gh could not infer the repository (not a git repository). Set GH_REPO; every other job checks out first.
  • Draft releases are only visible to tokens with write access, and the job had contents: read (release not found). Grant contents: write; the calling workflow already grants it.

Issue

No issue — fixes for the failed v0.1.1 release run.

Testing

  • Re-ran the release workflow for v0.1.1 from this branch: Resolve release passes and the builds start (run 36904721992).

🤖 Generated with Claude Code

@kostyafarber kostyafarber changed the title ci: resolve the release repository before checkout ci: let the release check find draft releases Oct 1, 2026
@kostyafarber
kostyafarber added this pull request to the merge queue Oct 1, 2026
Merged via the queue into main with commit 385122d Oct 1, 2026
25 checks passed
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.

1 participant