Skip to content

fix: add --repo flag to gh pr merge in auto-merge workflow#10

Merged
eddietejeda merged 1 commit into
mainfrom
fix/automerge-repo-flag
Jun 1, 2026
Merged

fix: add --repo flag to gh pr merge in auto-merge workflow#10
eddietejeda merged 1 commit into
mainfrom
fix/automerge-repo-flag

Conversation

@eddietejeda
Copy link
Copy Markdown
Contributor

The auto-merge workflow fails with fatal: not a git repository because gh pr merge without --repo tries to detect the repository from a local git remote. Since there is no checkout step, this always fails.

Adding --repo "${{ github.repository }}" tells gh which repo to use directly via the API, no git clone needed.

@eddietejeda eddietejeda enabled auto-merge (squash) June 1, 2026 23:05
@eddietejeda eddietejeda merged commit a070500 into main Jun 1, 2026
2 of 3 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