Skip to content

fix: add GH_REPO env var to avoid needing git checkout#314

Merged
williambdean merged 1 commit intomainfrom
fix/auto-merge-gh-repo
Mar 6, 2026
Merged

fix: add GH_REPO env var to avoid needing git checkout#314
williambdean merged 1 commit intomainfrom
fix/auto-merge-gh-repo

Conversation

@williambdean
Copy link
Owner

Summary

  • gh pr merge fails with fatal: not a git repository when there is no actions/checkout step
  • Rather than adding a full checkout, set GH_REPO so gh knows which repo to operate against without needing a .git directory

@williambdean williambdean merged commit d8fc2bd into main Mar 6, 2026
7 checks passed
@williambdean williambdean deleted the fix/auto-merge-gh-repo branch March 6, 2026 22:51
@williambdean williambdean restored the fix/auto-merge-gh-repo branch March 6, 2026 23:00
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