Updated on 2025-07-25 GMT+08:00

Configuring Protected Tags for a Repository Group

You can configure protected tag rules for all repositories in a repository group. Before the configuration, view Constraints and configure protected tag rules for the repository groups by referring to Configuring Protected Tag Rules for a Repository Group.

Constraints

Table 1 Constraints on configuring protected tags

Item

Description

Permission constraint

Repository group members who have the set permission for repository groups can configure permissions on this page. For details, see Configuring a Repository Group's Permissions. Repository group members can only view this page.

Function constraints

  • 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.
  • If you select Inherit from project, the settings of the project will be used and cannot be changed.
  • If Force inherit is selected, all child repository groups and repositories in the repository group will use the following settings and cannot be changed.

Configuring Protected Tag Rules for a Repository Group

  1. Go to the details page of the repository group Test_Group to be configured, choose Settings > Policy Settings > Protected Branches, and click Create Protected Tag.

  2. If you do not select this option, see 2.