UpdatePushRulesRequest
Shape
- author_email_regexAuthorEmailRegex (string) or nulloptional
- commit_message_regexCommitMessageRegex (string) or nulloptional
- enforcementRuleEnforcementdefaultenforcedor nulloptionalOn a group only:
enforcedholds every group and repository beneath to these rules or stricter ones. Only someone who administers access on the group may set or clear it. - 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": "tomas@acme.example",
"commit_message_regex": "commit-message-regex-eda6",
"enforcement": "default",
"max_file_size_mb": 5,
"prohibited_file_names_regex": "prohibited-file-names-regex-05be",
"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
Sent by 2 operations
Returned by 0 operations
No operation returns it directly.