Page MenuHomePhabricator

Merge Commit Guard Rail
ActivePublic

Referenced Files
None
Subscribers
None

Details

Rule Type
Global
Applies To
Commit Hook: Commit Content

Description

When all of these conditions are met:

Is merge commit is true
Author is any of chad
Commit message does not contain @force-merge
Repository is not any of Restricted Repository

Take these actions every time this rule matches:

Block push with message: You're pushing a merge commit. Add "@force-merge" to the message if you REALLY meant to do this.

Event Timeline

epriestley renamed this rule from to Merge Commit Guard Rail.