Skip to content

Fix GitHub Release repository discovery - #4

Merged
myc0576 merged 1 commit into
mainfrom
codex/fix-github-release-repository
Jul 15, 2026
Merged

Fix GitHub Release repository discovery#4
myc0576 merged 1 commit into
mainfrom
codex/fix-github-release-repository

Conversation

@myc0576

@myc0576 myc0576 commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • pass the Actions repository explicitly to gh release create
  • add regression coverage for checkout-free release jobs

Why

The v0.1.1 release build succeeded, but the release job ran outside a Git checkout and gh could not discover the repository.

Verification

  • py -3.12 -m pytest tests/test_release_workflow.py -q (2 passed)
  • py -3.12 -m pytest -q (76 passed)

The release job intentionally avoids a redundant checkout, so GitHub CLI must receive the repository from the Actions environment instead of discovering it from a local .git directory.

Constraint: Keep the release job checkout-free after downloading verified build artifacts.
Rejected: Add actions/checkout to the release job | unnecessary network and filesystem work
Confidence: high
Scope-risk: narrow
Directive: Keep the repository argument when invoking gh outside a checked-out worktree.
Tested: 76 pytest tests, including release workflow regression coverage
Not-tested: GitHub-hosted rerun until this commit is merged
@myc0576
myc0576 merged commit 5b5bcec into main Jul 15, 2026
6 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