Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git pr -m uses an undocumented and sometimes broken feature of GitHub #775

Open
spacewander opened this issue Aug 29, 2019 · 0 comments
Open
Labels

Comments

@spacewander
Copy link
Collaborator

According to
https://discourse.drone.io/t/github-claims-that-merge-refs-are-undocumented-feature/1100

The /merge refs are created only to check the mergeability. If a branch is already merged, the ref will be deleted. If no one visits the pull request page or uses the API to trigger the mergeability check, the ref will not update.

Although we could manually trigger the ref rebuild via visit the pull request web page, it would be better to find an alternative way. Maybe we could find the branch targeted by the pull request via GitHub API, and do the merge locally?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant