Skip to content
GitmoapAPIBeta
Schema

RawPushRulesResponse

Shape

  • author_email_regexAuthorEmailRegex (string) or nulloptional
  • commit_message_regexCommitMessageRegex (string) or nulloptional
  • enforcementRuleEnforcementdefaultenforcedor nulloptionalSet on a group's rules: whether the scopes beneath may only make them stricter.
  • max_file_size_mbinteger · int32 or nulloptional0–∞
  • prohibited_file_names_regexProhibitedFileNamesRegex (string) or nulloptional
  • reject_unsigned_commitsboolean or nulloptional
  • require_closing_issue_referenceboolean or nulloptional
  • require_issue_referenceboolean or nulloptional

Example

Synthesized example
{
"author_email_regex": "lin@acme.example",
"commit_message_regex": "commit-message-regex-b669",
"enforcement": "default",
"max_file_size_mb": 5,
"prohibited_file_names_regex": "prohibited-file-names-regex-002b",
"reject_unsigned_commits": false,
"require_closing_issue_reference": false,
"require_issue_reference": false
}

Graph

Used inside

No schema contains this one.

Contains

No named schema inside.

Used by