Skip to content

fix(ci): add --repo flag to gh commands in release-please workflow - #36

Merged
kellenmurphy merged 1 commit into
mainfrom
fix/release-please-repo-flag
May 16, 2026
Merged

fix(ci): add --repo flag to gh commands in release-please workflow#36
kellenmurphy merged 1 commit into
mainfrom
fix/release-please-repo-flag

Conversation

@kellenmurphy

Copy link
Copy Markdown
Owner

Summary

  • gh CLI has no git repo context in the release-please job (no checkout step), so it cannot auto-detect the repository from .git/config
  • Adding --repo $GITHUB_REPOSITORY to all three gh commands resolves: failed to run git: fatal: not a git repository

This commit was on fix/release-please-automerge but that PR merged one commit too early.

gh CLI has no git repo context in the release-please job (no checkout
step), so it cannot auto-detect the repository. Adding --repo
$GITHUB_REPOSITORY to all three gh commands resolves the error:
'failed to run git: fatal: not a git repository'
@codecov

codecov Bot commented May 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kellenmurphy
kellenmurphy merged commit e464d81 into main May 16, 2026
5 checks passed
@kellenmurphy
kellenmurphy deleted the fix/release-please-repo-flag branch June 15, 2026 17:26
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