Skip to content

Commit 7e59cef

Browse files
authored
Merge pull request #16 from NDDev-OpenNetwork/fix/ruleset-plan-schema-pull-controls
fix(schema): persist pull request merge controls
2 parents ab15f51 + 35283b6 commit 7e59cef

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎schemas/v1/plan.schema.json‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,15 @@
15031503
"dismiss_stale_reviews_on_push": {"type": "boolean"},
15041504
"require_code_owner_review": {"type": "boolean"},
15051505
"required_review_thread_resolution": {"type": "boolean"},
1506+
"require_last_push_approval": {"type": "boolean"},
1507+
"require_extra_approval_for_unattributed_changes": {"type": "boolean"},
1508+
"allowed_merge_methods": {
1509+
"type": "array",
1510+
"minItems": 1,
1511+
"maxItems": 3,
1512+
"uniqueItems": true,
1513+
"items": {"enum": ["merge", "rebase", "squash"]}
1514+
},
15061515
"required_status_checks": {
15071516
"type": "array",
15081517
"minItems": 1,

0 commit comments

Comments
 (0)