-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.policy.yml
More file actions
34 lines (28 loc) · 826 Bytes
/
Copy path.policy.yml
File metadata and controls
34 lines (28 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: 1
policies:
- name: "Standard Contribution Policy"
description: "Ensures all pull requests follow contribution standards and pass moderation checks."
approval:
method: "PR Review"
required_count: 1
users:
- MilesONerd
allow_author: false
approval_rules:
- name: Require review or bot approval
requires:
count: 1
reviewers: ["MilesONerdBot"]
conditions:
must_not_have_labels:
- "spam"
- "ai-generated"
- "needs-human-review"
require_branch_up_to_date: true
require_status_success: true
require_no_conflicts: true
actions:
on_approval:
- type: "status"
state: "success"
description: "✅ All policy checks passed and human approval received."