Updated on 2026-01-28 GMT+08:00

Configuring Protected Tag Rules

Constraints

Table 1 Constraints on configuring protected tag rules

Item

Description

Permission constraint

To configure protected tag rules for a repository, you need to have the necessary permissions. For details, see Configuring Repo-Level Permissions.

Function constraint

Only one tag rule can be created for a tag. Otherwise, an error message is displayed, indicating that the protected tag name has already been used.

Creating Protected Tag Rules for a Repository

  1. Go to the homepage of the repository Test_Repo, choose Settings > Policy Settings > protected tags, and click Create Protected Tag.

  2. Set the parameters by referring to 2. To manage protected tags, see Managing Protected Tag Rules.