File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Shared policy-bot configuration for MetaMask org.
2+ # Applied to all repos where the GitHub App is installed
3+ # and no local .policy.yml exists.
4+ #
5+ # Docs: https://github.com/palantir/policy-bot#approval-rules
6+
7+ policy :
8+ approval :
9+ - or :
10+ - " cherry-pick auto-approval"
11+ - " standard human review"
12+
13+ approval_rules :
14+ - name : " cherry-pick auto-approval"
15+ description : " Auto-approve cherry-pick PRs to release branches that meet all criteria"
16+ if :
17+ title :
18+ matches :
19+ - " (?i)cherry.?pick"
20+ targets_branch :
21+ pattern : " ^release/.*$"
22+ modified_lines :
23+ total : " < 200"
24+ requires :
25+ count : 0
26+
27+ - name : " standard human review"
28+ description : " Default team-based review for all other PRs"
29+ requires :
30+ count : 1
31+ teams :
32+ - " MetaMask/release-team"
You can’t perform that action at this time.
0 commit comments