0

I would like to trigger a specific build pipeline based on a tag value from a pull request for a git repo hosted on Azure. Currently, any tags on the PR once merged to master are not applied to the master branch after merging. enter image description here enter image description here

As shown above, after the merge any tags set in the PR are not applied to the master branch. The goal is to use tags to trigger which UI to deploy from a mono repo.

If I manually add a tag to the master using "Repos > Tags" UI the build pipeline will then trigger correctly. Currently, the trigger setup in the YAML is as follows.

trigger:
  tags:
    include:
    - ui-module-template.*
    - ui-module-template-two.*

I might be mixing things up and confusing git tags with just tags meant to help identify the PR or its usage, but I haven't seen search/filtering options in the PR UI that makes use of tags set in the PR.

0 Answers0