You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Right now, it's basically impossible to have any protection around tags:
Anyone with write access to a repo can push any tags.
There's no auditing/logging of tag changes.
Any number of things could be done to improve this:
Add an option to protect individual tags (or better yet, any tags that match a given regex/have a certain prefix), like how how branches can be protected.
Include tagging events in the per-organization audit logs.
Allow tag pushes to be locked down more tightly, like only allowing admins to push tags.
Reacted by RaGe, adil, Stéphane Mennesson, AJ Michels, enu, Justin Coyne, Kevin Musiorski, Neeraj Kashyap, Jacky Wijaya, Nate McMaster and 261 more
Reacted by Denis Tomilin, Kyle Roach and Marcel Sinn
Reacted by Denis Tomilin, Kyle Roach, Marcel Sinn and Zak Blacher
Reacted by Louis Pilfold, Johannes Wik, Antonio Curado, sktbrt, Collin Doering, Alexandr Artemyev, tjannaud, Zinovii Dmytriv, Antoine Niek, Mike Stewart and 14 more
Reacted by Denis Tomilin, Varun Garg, Kyle Roach, Marcel Sinn and Zak Blacher
Reacted by Denis Tomilin, Tory Alsip, Kyle Roach and Marcel Sinn
I am experiencing the same issues surrounding protecting tags. we are currently looking to migrate our source from another vcs into GitHub Enterprise, and this is a major sticking point for us. Another git related UI (cough gitlab cough) already has this functionality built in. In terms of sqa releases vs production releases, this is how we would be labeling releases, and if anyone with write privileges can delete a tag whenever they want, even on protected branches(which seems counter-intuitive), we have a problem. I agree with AlecBenzer that all three of his suggestions should be implemented, but in addition, why not make deleting tags on protected branches an admin/owner only task. this way, if one is applied by accident, it can be corrected, just not by everyone on the team with write access.
Reacted by Lavinia Girteala, Stuart, Cory Bond, José Luis DUQUE GORDILLO, Marten Seemann, Heather Lemieux, Marcel Sinn and kenjiru
I also have run into this limitation. I had to end up using branches instead, for marking released versions. It would be a lot cleaner if you could tag release versions instead. In that case, all branches would be WIP and all tags would be release.
At the very least it would be nice to have a way to require tags to be annotated so that you can identify who pushed them. But more options around this would be very nice, as the @AlecBenzer pointed out there is pretty much nothing right now unless you restrict everyone to read-only.
Personally I like using forks to help manage workflow but currently I am not able to do so because of the CI/CD tools I have inherited which do not support forks.
Reacted by Erik Osterman (Cloud Posse), Kryštof Korb, Nadahar, Samuel, Tim Kersten, Chris Hiestand, Jason White, Howard Lo (Kazu), Steven Uray, qiwihui and 21 more
This accident has already happened to our team several times, when someone accidentally tagged commits in different branches that didn't get merged to master in their current form. Tags looks like reviewed, approved code and any reference to a tag is assumed to be stable and in master.
Reacted by Dimitar Dimitrov, Marcel Sinn and kenjiru
I work at a 10-person medical imaging software development firm. We use Github extensively.
We would very much like to have this feature. It exists in Gitlab already, and it would make Github more useful for us when working on FDA-regulated projects. In particular, it would make it easier for us to use Github as a 21 CFR Part 11 compliant document store.
This feature is like drinking water, my company wants to move from gitlab to github but this unbelievable 3 years issue is preventing us to do so.
Reacted by Dan Trickey, Denis Tomilin, Andrew Griffiths, Yuuki Tominaga, Sceat, Владимир Орлов, Hannan Shaik, Dustin Do, Martín Schonaker, Marcel Gongora and 7 more
Reacted by Sebastian "Sebbie" Silbermann and AJ Jordan
Almost 3 years and still waiting. This issue is tagged WIP, so any update on this?
Reacted by Dan Trickey, Sceat, Itamar Atzmon, Ben March-Cormie, Marcel Schnelle, Kit Burgess, Mark Lambert, Heather Lemieux, Michal Kozanecki and Meghann
We just moved to a CI/CD pipeline using GitHub Actions and wanted to deploy releases using tags. It works perfectly and then wanted to protect tag creation only to know that wasn't possible.
We would greatly appreciate if this feature request gets implemented sooner than later.
Reacted by rhenry-bardavon, Ashton Meuser, Kit Burgess, Mark Lambert, Marten Seemann, Sceat, Scott Pierce, Iddan Aaronsohn, Heather Lemieux, Marcel Sinn and 3 more
This feature should be highly prioritized, we at our company manage to do without it for now but as we grow it will become mandatory and we don't want to move to gitlab for this, github is pleasant
@vw-mf This is an unofficial repository for GitHub issues, @isaacs has no affiliation with GitHub. You can try contacting GitHub support for an update.
@HeatherLemieux Apologies for the slow response – I've been out of the office for a break.
I'm no longer part of a team that has an influence on this part of our product so I'm unable to state when it may be addressed or how. I do however know that the team responsible for this area is very aware of it!
Yes! That's now the best way to register your feedback and I'd highly encourage you to do so. It will lead directly to the team who owns this part of the product 😄
Activity
alecbz commentedon Oct 14, 2017
Response from GitHub:
Ap0th0cary commentedon Dec 8, 2017
I am experiencing the same issues surrounding protecting tags. we are currently looking to migrate our source from another vcs into GitHub Enterprise, and this is a major sticking point for us. Another git related UI (cough gitlab cough) already has this functionality built in. In terms of sqa releases vs production releases, this is how we would be labeling releases, and if anyone with write privileges can delete a tag whenever they want, even on protected branches(which seems counter-intuitive), we have a problem. I agree with AlecBenzer that all three of his suggestions should be implemented, but in addition, why not make deleting tags on protected branches an admin/owner only task. this way, if one is applied by accident, it can be corrected, just not by everyone on the team with write access.
israel-evans-tc commentedon Dec 26, 2017
I also have run into this limitation. I had to end up using branches instead, for marking released versions. It would be a lot cleaner if you could tag release versions instead. In that case, all branches would be WIP and all tags would be release.
ajmichels commentedon Apr 18, 2018
At the very least it would be nice to have a way to require tags to be annotated so that you can identify who pushed them. But more options around this would be very nice, as the @AlecBenzer pointed out there is pretty much nothing right now unless you restrict everyone to read-only.
Personally I like using forks to help manage workflow but currently I am not able to do so because of the CI/CD tools I have inherited which do not support forks.
Miserlou commentedon Jun 28, 2018
GitLab has this feature: https://docs.gitlab.com/ee/user/project/protected_tags.html
Really wish GitHub did.
Nadahar commentedon Jul 23, 2018
This is an accident waiting to happen, the ability to protect tags is very much needed.
SudheerGundanna commentedon Jul 25, 2018
Our organization need this too. If not I will start thinking of moving to GitLab or so.
io41 commentedon Aug 14, 2018
This
accidenthas already happened to our team several times, when someone accidentally tagged commits in different branches that didn't get merged to master in their current form. Tags looks like reviewed, approved code and any reference to a tag is assumed to be stable and in master.dluc commentedon Aug 16, 2018
Just had the same issue in one of our releases, same as @io41.
We need tagging policies similarly to how branches can be protected.
pulkitjalan commentedon Nov 18, 2018
This would be a great feature for us too, surprised GitHub doesn't already have this
Pytry commentedon Nov 28, 2018
When is this going to be implemented and added to GitHub Enterprise?
johndgiese commentedon Dec 5, 2018
I work at a 10-person medical imaging software development firm. We use Github extensively.
We would very much like to have this feature. It exists in Gitlab already, and it would make Github more useful for us when working on FDA-regulated projects. In particular, it would make it easier for us to use Github as a 21 CFR Part 11 compliant document store.
strugee commentedon Dec 5, 2018
Just want to remind everyone in this thread that GitHub does not monitor this repository. Be sure to tell support that you need this feature, too.
39 remaining items
Refactor Github actions workflow file
Sceat commentedon May 4, 2020
This feature is like drinking water, my company wants to move from gitlab to github but this unbelievable 3 years issue is preventing us to do so.
pintonunes commentedon May 12, 2020
+1
btnguyen2k commentedon Jul 7, 2020
Almost 3 years and still waiting. This issue is tagged WIP, so any update on this?
guillevalin commentedon Jul 8, 2020
We just moved to a CI/CD pipeline using GitHub Actions and wanted to deploy releases using tags. It works perfectly and then wanted to protect tag creation only to know that wasn't possible.
We would greatly appreciate if this feature request gets implemented sooner than later.
Glen1023 commentedon Aug 28, 2020
Check this issue opened time
13 Oct 2017and my commented time28 Aug 2020. What a surprise...HeatherLemieux commentedon Sep 24, 2020
@lukehefson any updates on this? Is there anyway we can get any visibility into this WIP other than tagging you directly?
Sceat commentedon Sep 24, 2020
This feature should be highly prioritized, we at our company manage to do without it for now but as we grow it will become mandatory and we don't want to move to gitlab for this, github is pleasant
ScottPierce commentedon Oct 9, 2020
It's a little surprising that this hasn't been added to github yet, especially given how essential to many teams flows tags are.
vw-mf commentedon Oct 14, 2020
We really need this. Whats the status? @isaacs
alecbz commentedon Oct 14, 2020
@vw-mf This is an unofficial repository for GitHub issues, @isaacs has no affiliation with GitHub. You can try contacting GitHub support for an update.
HeatherLemieux commentedon Nov 6, 2020
Just came across this today, Github now allows users to submit feature requests via https://support.github.com/contact/feedback . Probably worthwhile for us to do since this repo is only kinda tracked by github per #1091 (comment)
lukehefson commentedon Nov 23, 2020
@HeatherLemieux Apologies for the slow response – I've been out of the office for a break.
I'm no longer part of a team that has an influence on this part of our product so I'm unable to state when it may be addressed or how. I do however know that the team responsible for this area is very aware of it!
Yes! That's now the best way to register your feedback and I'd highly encourage you to do so. It will lead directly to the team who owns this part of the product 😄
kenjiru commentedon Dec 17, 2020
I believe this issue is tracked here now:
https://github.community/t/feature-request-protected-tags/1742/35
But it seems that there is not much progress.
vkiller commentedon May 4, 2021
Love this feature,should be considered.