I have a little issue with https://yarnpkg.com. 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.
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.