patch-graph / pass-the-fork

[WIP] inject forked dependencies into CI builds
MIT License
1 stars 1 forks source link

create merge-to-be commits #1

Open cben opened 6 years ago

cben commented 6 years ago

dependency PRs can be outdated but still mergable. Ideally they should be tested not at PR's head — which is simply the author's branch — but at the merge-to-be that would happen if merged now.

Github exposes magic pull/NN/head and pull/NN/merge refs, and I was hoping I can just use the later. Alas, somehow it's not a "real branch", doesn't work in git checkout --branch pull/42/merge nor in Gemfile gem git: ..., ref: "pull/42/merge" :-(

(implementation might belong in separate project)