PR trigger not working when target branch changes

Bitrise Build Issue Report template

Description of the issue

I already found these 2 old issues, but no solutions:

I’m a bit confused why there was no activities on these issues, since this seems like a pretty bad bug to me. There is a linked GitHub issue in one of them, but it doesn’t exist anymore, so I don’t know what was discussed there.

I’ll explain again, but the problem is exactly the same as in the mentioned issues: have a workflow that is triggered by pull requests:

trigger_map:
- pull_request_source_branch: '*'
  workflow: test
- pull_request_target_branch: '*'
  workflow: test

When the source branch of a PR is updated, the workflow reruns as expected. However, when the target branch of a PR is updated, for example because a different PR was merged, the workflow doesn’t run again on the remaining PRs.

1 Like

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