# Trigger Build from PR Merge

**URL:** <https://forum.buildkite.community/t/trigger-build-from-pr-merge/2536>\
**Category:** Pipelines\
**Created:** [February 6, 2023, 8:55pm UTC](https://forum.buildkite.community/t/trigger-build-from-pr-merge/2536 "2023-02-06T20:55:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![omar-leyva](https://avatars.discourse-cdn.com/v4/letter/o/9fc348/32.png) [@omar-leyva](https://forum.buildkite.community/u/omar-leyva)\
**Post date:** [February 6, 2023, 8:55pm UTC](https://forum.buildkite.community/t/trigger-build-from-pr-merge/2536/1 "2023-02-06T20:55:24Z")

</div>

Hello!

I have a use case where I want to be able to trigger a build _after_ we merge our PR, and be able to utilize the PR labels that were added before the PR was merged as conditionals for steps in our pipeline. Is that possible?

I know I can trigger a build once the code is pushed to the base branch, however I lose the context that the code push came from a PR

Any help would be appreciated! Thank you!  
Omar

---

<div class="post-metadata">

**Author:** ![karen.sawrey](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/karen.sawrey/32/1188_2.png) [@karen.sawrey](https://forum.buildkite.community/u/karen.sawrey)\
**Post date:** [February 8, 2023, 6:21pm UTC](https://forum.buildkite.community/t/trigger-build-from-pr-merge/2536/2 "2023-02-08T18:21:20Z")

</div>

Hello, @omar-leyva! Welcome to the community!

What you are trying to do might be possible, but I will need more details about your PR labels and your pipeline settings to be able to help you. Please reach out to [support@buildkite.com](mailto:support@buildkite.com)

Cheers!
