Page MenuHomePhabricator

every commit should be bound to at least one task(feature, bug, or requests)
ActivePublic

Details

Rule Type
Global
Applies To
Commit Hook: Commit Content

Description

When all of these conditions are met:

Commit message does not match regexp /([TF][1-9][0-9]+|Merge )/
Repository is not any of Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository, Restricted Repository
Branches does not contain You need to add a task ID. Every commit should be bound to at least one task(需要添加task id, 如果没有新建一个, 比如 T999,一定要大写T)
Branches does not match regexp /^test/
Branches does not match regexp /^develop/
Branches does not contain songbook

Take these actions every time this rule matches:

Block push with message: You need to add a task ID. Every commit should be bound to at least one task(需要添加task id, 如果没有新建一个, 比如 T999,一定要大写T)

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes