File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,20 @@ The PyAnsys core team recommends setting these rules for the ``main`` branch:
70
70
go through and resolve all comments. This ensures that all comments are read and
71
71
possibly applied.
72
72
73
+ For other branches, conventional commits can be enforced by creating a rule
74
+ with the following parameters:
75
+
76
+ - Enforcement status: ``Active ``
77
+ - Target branches:
78
+ - Include: ``All branches ``
79
+ - Exclude: ``main ``, ``gh-pages ``
80
+
81
+ - Restrict branch names:
82
+ - Applies to: ``Branch name ``
83
+ - Requirement: ``Must match a given regex pattern ``
84
+ - Matching pattern: ``^(feat|fix|chore|docs|style|refactor|test|perf|ci|build|dependabot|release)\/.* ``
85
+ - Description: ``Branch name must match the conventional commits pattern ``
86
+
73
87
Tag protection
74
88
--------------
75
89
You can’t perform that action at this time.
0 commit comments