Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions doc/source/how-to/repository-protection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,20 @@ The PyAnsys core team recommends setting these rules for the ``main`` branch:
go through and resolve all comments. This ensures that all comments are read and
possibly applied.

For other branches, conventional commits can be enforced by creating a rule
with the following parameters:

- Enforcement status: ``Active``
- Target branches:
- Include: ``All branches``
- Exclude: ``main``, ``gh-pages``

- Restrict branch names:
- Applies to: ``Branch name``
- Requirement: ``Must match a given regex pattern``
- Matching pattern: ``^(feat|fix|chore|docs|style|refactor|test|perf|ci|build|dependabot|release)\/.*``
- Description: ``Branch name must match the conventional commits pattern``

Tag protection
--------------

Expand Down
Loading