Configuring CodeArts Repo Policies by Administrator
As a code repository administrator, it may be necessary for you to configure policies for high-quality code merging. This section describes how to set policies for protected branches and protected tags in a code repository. Go to the homepage of your code repository and click Settings.
Setting a Protected Branch
- Click Create Protected Branch. Select an existing branch, or enter a wildcard that matches at least one existing branch.
- Set Push and Merge permissions for the Administrator/Project manager, Committer, or Developer. If the Push permission is enabled, the Merge permission of the role is enabled by default, and cannot be disabled.
Setting a Protected Tag
- Click Create Protected Tag. Select a tag in the drop-down list of Tags or enter a wildcard.
- Select roles from the drop-down list of Allowed to Create.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot