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
Automation rules: add delete version action (#7644)
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 <[email protected]>
field=models.CharField(choices=[('activate-version', 'Activate version'), ('hide-version', 'Hide version'), ('make-version-public', 'Make version public'), ('make-version-private', 'Make version private'), ('set-default-version', 'Set version as default'), ('delete-version', 'Delete version (on branch/tag deletion)')], help_text='Action to apply to matching versions', max_length=32, verbose_name='Action'),
0 commit comments