Build an app depending on Github's Pull Request labels

Hello,

I would ask you how to generate a build depending on Github’s Pull Request labels with Bitrise ?

We used BuddyBuild CI but we are looking for another solution since it will discontinue Android app development in March.

We have multiple apps, depending on countries, that share the same codebase and so the same Github repository. We trigger a build for specified app thanks to Github Hooker which detect add or remove of a Pull Request label.

So for example, if we add a “some app” label on a Pull Request, we would only like the “some app” app to build.

In your opinion, is it possible to do the same using Bitrise ?
Thanks a lot for your answer :slight_smile:

1 Like

Hi @lbonanni,

Thanks for the question!

I’m not familiar with Github Hooker - can you please link it so that I can check its docs?

In general we don’t have filters based on labels, but you can set different workflows for different branch patterns. E.g. you can set that every PR from the feature/us/* branches should use workflow X, while feature/gb/* should use workflow Y. Relate docs: http://devcenter.bitrise.io/webhooks/trigger-map/

You can also use our Trigger API via any custom tool or your own script to trigger builds any way you like: http://devcenter.bitrise.io/api/build-trigger/

If you’d have any questions just let us know! :slight_smile:

In fact, Github Hooker is a tool we create to detect the Pull Request labels.
I just checked your Trigger API and i think it will do the job ! Thanks :slight_smile:

1 Like

Glad to hear @lbonanni, thanks for reporting! :wink: