GitHub merge queue w/ Netlify

I have a little issue with I’m trying to enable the GitHub merge queue, but the required Netlify status never passes, and thus the PRs can’t be merged:

I can’t tell Netlify to run on the merge queue branch, because GitHub creates them on the fly with variable names. For example: gh-readonly-queue/master/pr-5447-(hash).

At the moment the only solution I can find is to make the Netlify job non-required.

Hi @arcanis,

At the moment, I don’t see a way to trigger a Netlify check for a Merge Queue. So this would most likely be a feature request, which I don’t know if/when it will be worked on. So it seems like you might have to go with the optional way.

I’ll still run this by the devs to see if this is something that can be easily supported (or a workaround).

As confirmed with the dev team, we don’t support first class. As a workaround, you can enable the site to build all branches and that should unblock it, but might cause more builds than you’d like. You also might have to create a build plugin or a shell script to exit early on non-merge-queue builds to save some time.

We would also love merge queue support in Netlify. So just want to +1 this feature request.

Hi Andrew,

Thanks for getting in touch and letting us know! I’ve added you to the existing feature request. We still don’t have a timeline for when this might be implemented, but we’ll be sure to follow up here with any updates on progress.

I am also interested in this feature. Add me to the feature request please!

1 Like

Thanks for shaing your feedback steve!