-
Notifications
You must be signed in to change notification settings - Fork 176
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
Add support for adding Protected Tags #772
Labels
Comments
This was referenced Sep 12, 2023
it seems like github is suggesting that defining tag protections as part of repository rules is now preferred over this approach, i'm wondering if adding support directly for tag protections at this point makes sense for this project. adding support for repository rules is a high priority for me. if that were implemented, is there still a need for this functionality to also be added? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites:
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-tag-protection-rules
API documentation (https://developer.github.com/v3/) as well as the Octokit documentation (https://octokit.github.io/).
https://docs.github.com/en/free-pro-team@latest/rest/repos/tags?apiVersion=2022-11-28#create-a-tag-protection-state-for-a-repository
New Feature
Adding the ability to add protected tags via the .github/settings.yml file. Similar to how branches and branch protection is added, adding the ability to specify a list of patterns to add as protected tags.
e.g.
The text was updated successfully, but these errors were encountered: