# Merge Queue Questions

**URL:** <https://forum.buildkite.community/t/merge-queue-questions/3783>\
**Category:** Pipelines\
**Created:** [July 9, 2024, 6:05am UTC](https://forum.buildkite.community/t/merge-queue-questions/3783 "2024-07-09T06:05:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![son.propte](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@son.propte](https://forum.buildkite.community/u/son.propte)\
**Post date:** [July 9, 2024, 6:05am UTC](https://forum.buildkite.community/t/merge-queue-questions/3783/1 "2024-07-09T06:05:43Z")

</div>

Hi Buildkite Team,

I’m working on migrating our pipelines from Github Actions to Buildkite PIpeline, but I’m facing an issue with the merge queue.

I was following the instruction below to set up my Merge Queue pipeline, but it seems like the instruction doesn’t work for me.

1. [Using GitHub merge queues | Buildkite Documentation](https://buildkite.com/docs/tutorials/github-merge-queue)
2. [Using GitHub's pull request merge queue in your pipelines](https://buildkite.com/blog/using-github-mergequeue-in-pipelines)

The pipeline was triggered when my pull request was added into the merge queue, but somehow my pull request was merged before the pipeline finished.

This is my pipeline configuration:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildkite1/original/2X/7/7cad4b6863096852149cbc8aae6c171d873ccb22.png)

This is my github webhook configuration:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildkite1/original/2X/4/428da4672621cbf42163886b1a1feca584020cc5.png)

This is my github branch configuration:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildkite1/original/2X/7/7f42506319dec7a095344240db1ba390d7287914.png)

So my questions are:

1. Do we need to add a Github workflow for merge\_group event?
2. I followed the instructions in your side, but pipeline was triggered when my pull request was added into Github merge queue, why the pull request was merged before the pipeline finished?
3. Do I need to update any configuration to make it works?

Thanks.

---

<div class="post-metadata">

**Author:** ![Priya](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@Priya](https://forum.buildkite.community/u/Priya)\
**Post date:** [July 9, 2024, 6:08am UTC](https://forum.buildkite.community/t/merge-queue-questions/3783/2 "2024-07-09T06:08:10Z")

</div>

Hey Son.propte 👋

Welcome to Buildkite community!

Thanks for sharing the details, we are currently looking into your details and will get back to you.

Cheers,  
Priya

---

<div class="post-metadata">

**Author:** ![Priya](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@Priya](https://forum.buildkite.community/u/Priya)\
**Post date:** [July 9, 2024, 7:00am UTC](https://forum.buildkite.community/t/merge-queue-questions/3783/3 "2024-07-09T07:00:05Z")

</div>

Hey Son.propte 👋

PR was auto merged because there were no status checks to look for the CI pipeline.

Could you modify below settings and let me know how it goes,

1. In the pipeline settings → branch limiting → along with the existing merge queue temporary branch filter could you add a space and configure the branch name where you’re pushing the changes?

2. In the pipeline settings → Github → Update commit status → enable Create a status for each job. This should create status check for your PR with the build kicked off with your changes which is allowed in step 1.

Let us know how you go!

Cheers,  
Priya

---

<div class="post-metadata">

**Author:** ![son.propte](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@son.propte](https://forum.buildkite.community/u/son.propte)\
**Post date:** [July 9, 2024, 7:08am UTC](https://forum.buildkite.community/t/merge-queue-questions/3783/4 "2024-07-09T07:08:44Z")

</div>

Hi @Priya ,

I have updated the configuration following your instruction, but it didn’t work.

This is my pipeline current configuration

 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildkite1/original/2X/3/3bc3d0880043b112c77a57f46829bc1e9fc1de77.png)

This is the pipeline triggered via the merge queue:  
[https://buildkite.com/propte/master-merge-queue-pipeline/builds/5](https://buildkite.com/propte/master-merge-queue-pipeline/builds/5)

This is the PR - it was merged while the pipeline is pending:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildkite1/original/2X/6/6db753293a916ec37274572daf0cd7bed86eb5f4.png)

Thanks.

---

<div class="post-metadata">

**Author:** ![athreya](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@athreya](https://forum.buildkite.community/u/athreya)\
**Post date:** [July 9, 2024, 7:18pm UTC](https://forum.buildkite.community/t/merge-queue-questions/3783/5 "2024-07-09T19:18:03Z")

</div>

Hey Son 👋

This is Athreya jumping in for Priya!

I’ve gone through your pipeline settings in Buildkite and GitHub, with the settings that Priya mentioned and you configured, everything seems perfect, with one little catch:

Under the " **Require status checks to pass before merging**" section of your branch protection rules in GitHub, I noticed that no status check is chosen.

After your Buildkite build has run, you should see the status checks listed here. They will appear with names like `buildkite/{pipeline-name}` . For example, if your pipeline name is `master-merge-queue-pipeline` , it will be listed as `buildkite/` `master-merge-queue-pipeline` . Select this and save the changes.

I understand this process can be a bit confusing as GitHub needs explicit mentioning of the status check in branch protection rules, even if Buildkite is set up to update commit statuses. This extra step ensures that GitHub is aware of which checks to enforce before allowing a merge.

If you encounter any issues or have further questions, please let us know. We are more than happy to assist you.

Cheers!

---

<div class="post-metadata">

**Author:** ![dabarrell](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/dabarrell/32/1208_2.png) [@dabarrell](https://forum.buildkite.community/u/dabarrell)\
**Post date:** [November 7, 2025, 4:28am UTC](https://forum.buildkite.community/t/merge-queue-questions/3783/6 "2025-11-07T04:28:31Z")

</div>

Hi @son.propte – FYI, we’ve recently added built-in support for GitHub merge queues! You can check out the changelog (and docs/demo) here: [GitHub merge queue integration | Buildkite](https://buildkite.com/resources/changelog/310-github-merge-queue-integration/)
