EffectivePushRulesResponse
Shape
- max_file_size_mbinteger · int320–∞
- reject_unsigned_commitsboolean
- require_closing_issue_referencebooleanStricter: the reference must carry an intent to close (
Fixes #412), not merely mention. Impliesrequire_issue_reference. - require_issue_referencebooleanWhether every pushed commit must reference a work item. A push with a commit that does not is rejected as a whole.
- author_email_regexAuthorEmailRegex (string) or nulloptional
- commit_message_regexCommitMessageRegex (string) or nulloptional
- prohibited_file_names_regexProhibitedFileNamesRegex (string) or nulloptional
Example
Synthesized example{
"max_file_size_mb": 3,
"reject_unsigned_commits": false,
"require_closing_issue_reference": false,
"require_issue_reference": false,
"author_email_regex": "lin@acme.example",
"commit_message_regex": "commit-message-regex-0574",
"prohibited_file_names_regex": "prohibited-file-names-regex-36f4"
}
Graph
Used inside
No schema contains this one.
Contains
No named schema inside.
Used by
Sent by 0 operations
No operation takes it as a request body.