Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tag protection via rest api #17862

Closed
markusschaefer opened this issue Nov 30, 2021 · 4 comments
Closed

tag protection via rest api #17862

markusschaefer opened this issue Nov 30, 2021 · 4 comments
Labels
modifies/api This PR adds API routes or modifies them type/proposal The new feature has not been accepted yet but needs to be discussed first.
Milestone

Comments

@markusschaefer
Copy link

Feature Description

The tag protection function is available since version 1.15.0 (#15545).

It would be helpful to manage tag protection for a lot of repositories when a api like branch protection would be available.

/repos/{owner}/{repo}/branch_protections --> /repos/{owner}/{repo}/tag_protections

Screenshots

No response

@lunny lunny added modifies/api This PR adds API routes or modifies them type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Dec 1, 2021
@mbarinc
Copy link

mbarinc commented Aug 24, 2022

I follow this request, it would be useful for those who have many repositories to manage.

@sgabenov
Copy link

Hey, does anybody looking into it? We have the same request to be able get protected tags over the Rest API, so we can do some automation over deleting unused tags. Could anyone help with introducing API or give any information on plans for it?

@linuxoid69
Copy link

Guys, I need this feature too!

mzroot pushed a commit to mzroot/gitea that referenced this issue Jun 8, 2024
mzroot pushed a commit to mzroot/gitea that referenced this issue Jun 13, 2024
silverwind pushed a commit that referenced this issue Jun 14, 2024
Add tag protection manage via rest API.

---------

Co-authored-by: Alexander Kogay <[email protected]>
Co-authored-by: Giteabot <[email protected]>
zjjhot added a commit to zjjhot/gitea that referenced this issue Jun 16, 2024
* giteaofficial/main:
  Fix JS error when creating new issue (go-gitea#31383)
  [skip ci] Updated translations via Crowdin
  Rename repo_model.SearchOrderByMap to repo_model.OrderByMap (go-gitea#31359)
  rm const do inline (go-gitea#31360)
  Allow downloading attachments of draft releases (go-gitea#31369)
  Fix duplicate sub-path for avatars (go-gitea#31365)
  [skip ci] Updated translations via Crowdin
  Add tag protection via rest api go-gitea#17862 (go-gitea#31295)
@adamel
Copy link

adamel commented Mar 12, 2025

@zjjhot This issue can be closed as per your referenced merge above?

@lunny lunny closed this as completed Mar 12, 2025
@lunny lunny added this to the 1.23.0 milestone Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modifies/api This PR adds API routes or modifies them type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

6 participants