Skip to content

Fix GitHub release repository targeting - #2

Merged
saivarun1410 merged 1 commit into
mainfrom
agent/fix-github-release
Aug 8, 2026
Merged

Fix GitHub release repository targeting#2
saivarun1410 merged 1 commit into
mainfrom
agent/fix-github-release

Conversation

@saivarun1410

Copy link
Copy Markdown
Owner

What changed

Pass the Actions-provided GITHUB_REPOSITORY explicitly to gh release create.

Why

The publish-github job downloads the package artifacts without checking out the repository. As a result, the v0.1.0 run failed with:

failed to run git: fatal: not a git repository

Explicit repository targeting lets GitHub CLI verify the tag and create the release through the API without requiring a checkout.

Impact

Future version tags can publish GitHub Releases from the downloaded, verified build artifacts. PyPI Trusted Publishing is unchanged.

Verification

  • git diff --check
  • manually created and verified v0.1.0 with the same --repo targeting
  • confirmed the release contains both CI-produced artifacts

@saivarun1410
saivarun1410 marked this pull request as ready for review August 8, 2026 16:52
@saivarun1410
saivarun1410 merged commit b5d55fd into main Aug 8, 2026
5 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