# Tag trigger not working when using repository hosted bitrise.yml

**URL:** <https://discuss.bitrise.io/t/tag-trigger-not-working-when-using-repository-hosted-bitrise-yml/23577>\
**Category:** Builds\
**Tags:** ios\
**Created:** [December 5, 2023, 4:49pm UTC](https://discuss.bitrise.io/t/tag-trigger-not-working-when-using-repository-hosted-bitrise-yml/23577 "2023-12-05T16:49:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickruddeni](https://avatars.discourse-cdn.com/v4/letter/n/5e9695/32.png) [@nickruddeni](https://discuss.bitrise.io/u/nickruddeni)\
**Post date:** [December 5, 2023, 4:49pm UTC](https://discuss.bitrise.io/t/tag-trigger-not-working-when-using-repository-hosted-bitrise-yml/23577/1 "2023-12-05T16:49:51Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

We have a trigger setup to run a specific workflow when any tag is pushed using a wildcard.

This trigger is defined both in the [Bitrise.io](http://Bitrise.io) UI under the triggers section, and in our bitrise.yml stored in our repository.

When I push a tag, eg “10.6.1” to Github, the webhook is triggering correctly but I’m getting the following in the response from Bitrise

```auto
{"success_responses":[],"failed_responses":[{"status":"error","message":"trigger pattern did not match any defined mapping: no matching pipeline \u0026 workflow found with trigger params: push-branch: , pr-source-branch: , pr-target-branch: , tag: 10.6.1","service":"bitrise","slug":"d48c062f84c30c08","build_slug":"","build_number":0,"build_url":"","triggered_workflow":""}]}

```

If I change the bitrise.yml to be hosted on Bitrise, the trigger works correctly.

This is the current trigger map in our bitrise.yml

```auto
trigger_map:
- push_branch: master
  workflow: Validate
- pull_request_target_branch: master
  workflow: QA
- pull_request_target_branch: develop
  workflow: QA
- pull_request_target_branch: feature*
  workflow: QA
- pull_request_target_branch: release*
  workflow: QA
- tag: "*"
  workflow: Sandbox

```

## Environment:

On [Bitrise.io](http://Bitrise.io)

**Which build Step causes the issue and which version of the step?**

Tag build trigger

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [January 4, 2024, 4:50pm UTC](https://discuss.bitrise.io/t/tag-trigger-not-working-when-using-repository-hosted-bitrise-yml/23577/2 "2024-01-04T16:50:48Z")

</div>

Closed on January 4, 2024, 4:50pm UTC

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