How can I get a build to trigger for a change to a branch in a folder?

I want a build to trigger when I push a change to a branch named “tech/my-branch”. But no build is triggered when I push a change to that branch.

I can get builds to trigger whenever I push to develop, but any other branch requires a pull request to be created.

My bitrise.yml file contains the following:

trigger_map:
- push_branch: develop
  workflow: alpha
- push_branch: tech/*
  workflow: alpha
- push_branch: release/*
  workflow: release
- pull_request_target_branch: develop
  workflow: branch
- pull_request_source_branch: "*"
  pull_request_target_branch: release/*
  workflow: branch

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Hey @ben.thomas,

Thank you so much for you post, I apologize for getting back to you so late but I wanted to let you know that based on your trigger map, we may need to have you set up a brand new trigger that is dedicated to triggering a build on “tech/my-branch”, this can happen on your workflow editor under the Triggers tab. Should you already have this configured and it is simply not showing up on your trigger map, we can definitely take a closer look which we can offer by you submitting a support ticket Bitrise - Mobile Continuous Integration and Delivery - iOS & Android Build Automation.

Let me know if this helps or if you have any questions on the above!

Best,

Lex

1 Like