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

Adding ability to manage tag protections via settings #795

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ctoestreich
Copy link

This should allow tag protection

@vercel
Copy link

vercel bot commented Sep 12, 2023

@ctoestreich is attempting to deploy a commit to the Repository Settings Team on Vercel.

A member of the Team first needs to authorize it.

@travi
Copy link
Member

travi commented Mar 8, 2024

apologies for the extremely delayed feedback on this. there are recent updates to the testing strategy for the project that i hope make defining various scenarios. unfortunately, that means that you will need to update your changes to align with the new strategy, but hopefully that will make it easier to define additional scenarios of your implementation more clearly, so that the additional coverage helps protect against future regressions

Copy link
Member

@travi travi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a couple of tweaks to the shape of the proposed config section. also, could you please also update the configuration docs to include an example of this functionality?

@@ -0,0 +1,3 @@
tag_protection:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets simplify this to tags to be more similar to the existing branches, for example

@@ -0,0 +1,3 @@
tag_protection:
- pattern: "v1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don think including pattern here is helpful since it is the only property. lets simplify to just be the pattern

@travi
Copy link
Member

travi commented Mar 8, 2024

also worth considering: #772 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for adding Protected Tags
2 participants