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

Automation rules for when a branch/tag is deleted #7637

Closed
stsewd opened this issue Nov 3, 2020 · 0 comments · Fixed by #7644
Closed

Automation rules for when a branch/tag is deleted #7637

stsewd opened this issue Nov 3, 2020 · 0 comments · Fixed by #7644
Labels
Feature New feature Needed: design decision A core team decision is required

Comments

@stsewd
Copy link
Member

stsewd commented Nov 3, 2020

The only action available would be to deactivate the version. If the version matches the default version we don't do anything, as we don't allow to deactivate the default version. We do have an automation rule for changing the default version when a branch/tag is created.

@stsewd stsewd added Feature New feature Needed: design decision A core team decision is required labels Nov 3, 2020
stsewd added a commit that referenced this issue Nov 5, 2020
Currently we automatically delete inactive versions
when they are deleted from the repository.

If the version is active we keep it,
and users must deactivate it manually.

With this rule users can automate that.
Default versions can't deactivate it,
users must change the default version first.

This is the only rule that is run when a version is deleted.

Closes #7637
stsewd added a commit that referenced this issue Nov 5, 2020
Currently we automatically delete inactive versions
when they are deleted from the repository.

If the version is active we keep it,
and users must deactivate it manually.

With this rule users can automate that.
Default versions can't deactivate it,
users must change the default version first.

This is the only rule that is run when a version is deleted.

Closes #7637
stsewd added a commit that referenced this issue Nov 11, 2020
Currently we automatically delete inactive versions
when they are deleted from the repository.

If the version is active we keep it,
and users must deactivate it manually.

With this rule users can automate that.
Default versions can't deactivate it,
users must change the default version first.

This is the only rule that is run when a version is deleted.

Closes #7637

Co-authored-by: Manuel Kaufmann <humitos@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature Needed: design decision A core team decision is required
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant