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" :-(
[ ] Be able to "steal" existing commit and push a real branch with it
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
andpull/NN/merge
refs, and I was hoping I can just use the later. Alas, somehow it's not a "real branch", doesn't work ingit checkout --branch pull/42/merge
nor in Gemfilegem git: ..., ref: "pull/42/merge"
:-((implementation might belong in separate project)