Page MenuHomePhabricator

Forbidden directly commit on release branch - Lin.Jiang
DisabledPublic

Details

Rule Type
Global
Applies To
Commit Hook: Commit Content

Description

When all of these conditions are met:

Is merge commit is false
Repository is any of Restricted Repository, Restricted Repository
Branches contains release
Branches does not contain hotfix

Take these actions every time this rule matches:

Block push with message: Directly commit is not allowed on release branch.