# Branch-name for pull requests

**URL:** <https://forum.buildkite.community/t/branch-name-for-pull-requests/732>\
**Category:** General\
**Created:** [October 9, 2019, 7:06am UTC](https://forum.buildkite.community/t/branch-name-for-pull-requests/732 "2019-10-09T07:06:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![thirtytwobits](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/thirtytwobits/32/542_2.png) [@thirtytwobits](https://forum.buildkite.community/u/thirtytwobits)\
**Post date:** [October 9, 2019, 7:06am UTC](https://forum.buildkite.community/t/branch-name-for-pull-requests/732/1 "2019-10-09T07:06:23Z")

</div>

I’m using buildkite to build pull-requests but I’m confused about one behaviour I see: When I first submit a PR the request name is:

```auto
buildkite/[pipeline-slug]

```

but if it fails and I restart the build it appears as:

```auto
buildkite/[pipeline-slug]/pr

```

How do I get a consistent behaviour so I can properly set the branch requirements in github?

Example PR → [Docs, Saleae stub-out, et-al by thirtytwobits · Pull Request #14 · thirtytwobits/nanaimo · GitHub](https://github.com/thirtytwobits/nanaimo/pull/14)  
Pipeline (public) → [https://buildkite.com/friends-of-scott/nanaimo-pr](https://buildkite.com/friends-of-scott/nanaimo-pr)

Thanks.

---

_[View the full topic](https://forum.buildkite.community/t/branch-name-for-pull-requests/732)._
