{"payload":{"source":{"id":187247007,"defaultBranch":"main","name":"grass","ownerLogin":"OSGeo","currentUserCanPush":true,"isFork":false,"isEmpty":false,"createdAt":"2019-05-17T16:13:33.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1058467?v=4","public":true,"private":false,"isOrgOwned":true},"sourceType":"repository","ruleset":{"id":270686,"target":"branch","name":"Rules for release branches","source":{"id":187247007,"type":"Repository","name":"grass","url":"http://github.com/OSGeo/grass/settings/rules"},"matches":["releasebranch_7_0","releasebranch_7_2","releasebranch_7_4","releasebranch_7_6","releasebranch_7_8","releasebranch_8_0","releasebranch_8_2","releasebranch_8_3","releasebranch_8_4"],"orgAdminBypassMode":"no_org_bypass","deployKeyBypass":false,"enforcement":"enabled","rules":[{"id":2687669,"ruleType":"deletion","parameters":{}},{"id":2687670,"ruleType":"non_fast_forward","parameters":{}},{"id":2687671,"ruleType":"required_linear_history","parameters":{}}],"conditions":[{"id":275196,"target":"ref_name","parameters":{"exclude":[],"include":["refs/heads/releasebranch*"]}}],"bypassActors":null},"currentName":null,"upsellInfo":{"organization":true,"askAdmin":false,"rulesets":{"featureEnabled":true,"cta":{"visible":false,"path":null}},"enterpriseRulesets":{"featureEnabled":false,"cta":{"visible":true,"path":null}}},"ruleSchemas":[{"type":"creation","displayName":"Restrict creations","description":"Only allow users with bypass permission to create matching refs.","beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[],"ui_options":{}},"metadataPatternSchema":null},{"type":"update","displayName":"Restrict updates","description":"Only allow users with bypass permission to update matching refs.","beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[],"ui_options":{}},"metadataPatternSchema":null},{"type":"deletion","displayName":"Restrict deletions","description":"Only allow users with bypass permissions to delete matching refs.","beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[],"ui_options":{}},"metadataPatternSchema":null},{"type":"required_linear_history","displayName":"Require linear history","description":"Prevent merge commits from being pushed to matching refs.","beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[],"ui_options":{}},"metadataPatternSchema":null},{"type":"merge_queue","displayName":"Require merge queue","description":"Merges must be performed via a merge queue.","beta":true,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":{},"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[{"type":"string","name":"merge_method","display_name":"Merge method","description":"Method to use when merging changes from queued pull requests.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"Merge commit","validator":null,"ui_control":"merge_queue_merge_method","visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":["Merge commit","Squash and merge","Rebase and merge"],"ui_prefer_dropdown":true},{"type":"integer","name":"max_entries_to_build","display_name":"Build concurrency","description":"Limit the number of queued pull requests requesting checks and workflow runs at the same time.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":5,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"allowed_range":"0..100","ui_prefer_dropdown":false},{"type":"integer","name":"min_entries_to_merge","display_name":"Minimum group size","description":"The minimum number of PRs that will be merged together in a group.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":1,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"allowed_range":"0..100","ui_prefer_dropdown":false},{"type":"integer","name":"max_entries_to_merge","display_name":"Maximum group size","description":"The maximum number of PRs that will be merged together in a group.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":5,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"allowed_range":"0..100","ui_prefer_dropdown":false},{"type":"integer","name":"min_entries_to_merge_wait_minutes","display_name":"Wait time to meet minimum group size (minutes)","description":"The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":5,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"allowed_range":"0..360","ui_prefer_dropdown":false},{"type":"boolean","name":"grouping_strategy_all_green","display_name":"Require all queue entries to pass required checks","description":"When this setting is disabled, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":true,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"integer","name":"check_response_timeout_minutes","display_name":"Status check timeout (minutes)","description":"Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":60,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"allowed_range":"1..360","ui_prefer_dropdown":false}],"ui_options":{}},"metadataPatternSchema":null},{"type":"required_deployments","displayName":"Require deployments to succeed","description":"Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.","beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[{"type":"array","name":"required_deployment_environments","display_name":"Deployment environments","description":"The environments that must be successfully deployed to before branches can be merged.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":{},"ui_control":"required_deployments","visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"content_type":"string","content_object":null}],"ui_options":{}},"metadataPatternSchema":null},{"type":"required_signatures","displayName":"Require signed commits","description":"Commits pushed to matching refs must have verified signatures.","beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[],"ui_options":{}},"metadataPatternSchema":null},{"type":"pull_request","displayName":"Require a pull request before merging","description":"Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.","beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[{"type":"integer","name":"required_approving_review_count","display_name":"Required approvals","description":"The number of approving reviews that are required before a pull request can be merged.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":0,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"allowed_range":"0..10","ui_prefer_dropdown":true},{"type":"boolean","name":"dismiss_stale_reviews_on_push","display_name":"Dismiss stale pull request approvals when new commits are pushed","description":"New, reviewable commits pushed will dismiss previous pull request review approvals.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":false,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"boolean","name":"require_code_owner_review","display_name":"Require review from Code Owners","description":"Require an approving review in pull requests that modify files that have a designated code owner.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":"codeowners","default_value":false,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"boolean","name":"require_last_push_approval","display_name":"Require approval of the most recent reviewable push","description":"Whether the most recent reviewable push must be approved by someone other than the person who pushed it.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":false,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"boolean","name":"required_review_thread_resolution","display_name":"Require conversation resolution before merging","description":"All conversations on code must be resolved before a pull request can be merged.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":false,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true}],"ui_options":{}},"metadataPatternSchema":null},{"type":"required_status_checks","displayName":"Require status checks to pass","description":"Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass.","beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[{"type":"boolean","name":"strict_required_status_checks_policy","display_name":"Require branches to be up to date before merging","description":"Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":false,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"array","name":"required_status_checks","display_name":"Required status checks","description":"Status checks that are required.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":{},"ui_control":"required_status_checks","visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"content_type":"object","content_object":{"type":"object","name":"status_check_configuration","display_name":"Required status check","description":"Required status check","required":false,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[{"type":"string","name":"context","display_name":"Context","description":"The status check context name that must be present on the commit.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"integer","name":"integration_id","display_name":"Integration ID","description":"The optional integration ID that this status check must originate from.","required":false,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"allowed_range":null,"ui_prefer_dropdown":true}],"ui_options":{}}}],"ui_options":{}},"metadataPatternSchema":null},{"type":"non_fast_forward","displayName":"Block force pushes","description":"Prevent users with push access from force pushing to refs.","beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[],"ui_options":{}},"metadataPatternSchema":null},{"type":"commit_message_pattern","displayName":"Restrict commit messages","description":null,"beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[{"type":"string","name":"operator","display_name":"Operator","description":"The operator to use for matching.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":["starts_with","ends_with","contains","regex"],"ui_prefer_dropdown":true},{"type":"string","name":"pattern","display_name":"Pattern","description":"The pattern to match with.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":{},"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"boolean","name":"negate","display_name":"Negate","description":"If true, the rule will fail if the pattern matches.","required":false,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":false,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"string","name":"name","display_name":"Name","description":"How this rule will appear to users.","required":false,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true}],"ui_options":{}},"metadataPatternSchema":{"propertyDescription":"Commit message","supportedOperators":[{"type":"starts_with","displayName":"start with a matching pattern"},{"type":"ends_with","displayName":"end with a matching pattern"},{"type":"contains","displayName":"contain a matching pattern"},{"type":"regex","displayName":"match a given regex pattern"}]}},{"type":"commit_author_email_pattern","displayName":"Restrict commit author emails","description":null,"beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[{"type":"string","name":"operator","display_name":"Operator","description":"The operator to use for matching.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":["starts_with","ends_with","contains","regex"],"ui_prefer_dropdown":true},{"type":"string","name":"pattern","display_name":"Pattern","description":"The pattern to match with.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":{},"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"boolean","name":"negate","display_name":"Negate","description":"If true, the rule will fail if the pattern matches.","required":false,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":false,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"string","name":"name","display_name":"Name","description":"How this rule will appear to users.","required":false,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true}],"ui_options":{}},"metadataPatternSchema":{"propertyDescription":"Author email","supportedOperators":[{"type":"starts_with","displayName":"start with a matching pattern"},{"type":"ends_with","displayName":"end with a matching pattern"},{"type":"contains","displayName":"contain a matching pattern"},{"type":"regex","displayName":"match a given regex pattern"}]}},{"type":"committer_email_pattern","displayName":"Restrict committer emails","description":null,"beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[{"type":"string","name":"operator","display_name":"Operator","description":"The operator to use for matching.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":["starts_with","ends_with","contains","regex"],"ui_prefer_dropdown":true},{"type":"string","name":"pattern","display_name":"Pattern","description":"The pattern to match with.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":{},"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"boolean","name":"negate","display_name":"Negate","description":"If true, the rule will fail if the pattern matches.","required":false,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":false,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"string","name":"name","display_name":"Name","description":"How this rule will appear to users.","required":false,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true}],"ui_options":{}},"metadataPatternSchema":{"propertyDescription":"Committer email","supportedOperators":[{"type":"starts_with","displayName":"start with a matching pattern"},{"type":"ends_with","displayName":"end with a matching pattern"},{"type":"contains","displayName":"contain a matching pattern"},{"type":"regex","displayName":"match a given regex pattern"}]}},{"type":"branch_name_pattern","displayName":"Restrict branch names","description":null,"beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[{"type":"string","name":"operator","display_name":"Operator","description":"The operator to use for matching.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":["starts_with","ends_with","contains","regex"],"ui_prefer_dropdown":true},{"type":"string","name":"pattern","display_name":"Pattern","description":"The pattern to match with.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":{},"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"boolean","name":"negate","display_name":"Negate","description":"If true, the rule will fail if the pattern matches.","required":false,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":false,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"string","name":"name","display_name":"Name","description":"How this rule will appear to users.","required":false,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true}],"ui_options":{}},"metadataPatternSchema":{"propertyDescription":"Branch name","supportedOperators":[{"type":"starts_with","displayName":"start with a matching pattern"},{"type":"ends_with","displayName":"end with a matching pattern"},{"type":"contains","displayName":"contain a matching pattern"},{"type":"regex","displayName":"match a given regex pattern"}]}},{"type":"code_scanning","displayName":"Require code scanning results","description":"Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated.","beta":false,"parameterSchema":{"type":"object","name":null,"display_name":null,"description":null,"required":true,"root":true,"internal":false,"org_only":false,"supported_plan":null,"default_value":null,"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[{"type":"array","name":"code_scanning_tools","display_name":"Code scanning tools","description":"Tools that must provide code scanning results for this rule to pass.","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":[{"tool":"CodeQL","alerts_threshold":"errors","security_alerts_threshold":"high_or_higher"}],"validator":{},"ui_control":"code_scanning_tools","visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"content_type":"object","content_object":{"type":"object","name":"code_scanning_tool","display_name":"Code scanning","description":"A tool that must provide code scanning results for this rule to pass.","required":false,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":{"tool":"CodeQL","alerts_threshold":"errors","security_alerts_threshold":"high_or_higher"},"validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"fields":[{"type":"string","name":"tool","display_name":"The name of the tool that must provide code scanning results.","description":"The name of a code scanning tool","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"CodeQL","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_values":null,"ui_prefer_dropdown":true},{"type":"string","name":"security_alerts_threshold","display_name":"Security alerts threshold","description":"The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"high_or_higher","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_options":[{"value":"none","display_name":"None"},{"value":"critical","display_name":"Critical"},{"value":"high_or_higher","display_name":"High or higher"},{"value":"medium_or_higher","display_name":"Medium or higher"},{"value":"all","display_name":"All"}],"allowed_values":["none","critical","high_or_higher","medium_or_higher","all"],"ui_prefer_dropdown":true},{"type":"string","name":"alerts_threshold","display_name":"Alerts threshold","description":"The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"","required":true,"root":false,"internal":false,"org_only":false,"supported_plan":null,"default_value":"errors","validator":null,"ui_control":null,"visibility_fn":null,"feature_flag":null,"min_ghes_version":null,"beta":false,"beta_api":false,"publish_api":null,"aliases":[],"allowed_options":[{"value":"none","display_name":"None"},{"value":"errors","display_name":"Errors"},{"value":"errors_and_warnings","display_name":"Errors and Warnings"},{"value":"all","display_name":"All"}],"allowed_values":["none","errors","errors_and_warnings","all"],"ui_prefer_dropdown":true}],"ui_options":{}}}],"ui_options":{"hide_settings_container":true}},"metadataPatternSchema":null}],"readOnly":true,"baseAvatarUrl":"https://avatars.githubusercontent.com","supportedConditionTargetObjects":["ref"],"helpUrls":{"fnmatch":"https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/creating-rulesets-for-a-repository#using-fnmatch-syntax","statusChecks":"https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks","deploymentEnvironments":"https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment#about-environments","codeScanning":"https://docs.github.com/code-security/code-scanning/enabling-code-scanning","commitMetadataRules":"https://docs.github.com/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets#metadata-restrictions"},"isStafftools":false,"isImportedRuleset":false,"isRestoredRuleset":false,"isHistoryView":false,"noRulesets":false},"title":"Ruleset ยท grass"}