# YAML URL from Private Repo OR YAML from Repository by Tag (not Branch)

**URL:** <https://community.codefresh.io/t/yaml-url-from-private-repo-or-yaml-from-repository-by-tag-not-branch/574>\
**Category:** Pipeline Workflows\
**Created:** [June 29, 2021, 8:18pm UTC](https://community.codefresh.io/t/yaml-url-from-private-repo-or-yaml-from-repository-by-tag-not-branch/574 "2021-06-29T20:18:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![daytonpe](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/daytonpe/32/366_2.png) [@daytonpe](https://community.codefresh.io/u/daytonpe)\
**Post date:** [June 29, 2021, 8:18pm UTC](https://community.codefresh.io/t/yaml-url-from-private-repo-or-yaml-from-repository-by-tag-not-branch/574/1 "2021-06-29T20:18:04Z")

</div>

My team hopes to set our pipeline up to use a central, version controlled YAML from our private GitHub. We do version control with tags. Thus far I’ve found no way to select a specific tag (rather than branch) when choosing the YAML from within Codefresh.

We’ve gotten around this by using YAML URL with the generated token from Github appended to the end, but this token expires after 7 days so we are continuously having to update our YAML URL.

Maybe I’m missing something? Otherwise a feature around this would be awesome.

---

<div class="post-metadata">

**Author:** ![Kostis](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/kostis/32/391_2.png) [@Kostis](https://community.codefresh.io/u/Kostis)\
**Post date:** [July 7, 2021, 10:27am UTC](https://community.codefresh.io/t/yaml-url-from-private-repo-or-yaml-from-repository-by-tag-not-branch/574/2 "2021-07-07T10:27:56Z")

</div>

Hello

I have passed your request to our product team.

Many thanks for the feedback.
