-
Notifications
You must be signed in to change notification settings - Fork 181
Expand file tree
/
Copy pathpolicy.yml
More file actions
85 lines (80 loc) · 2.14 KB
/
Copy pathpolicy.yml
File metadata and controls
85 lines (80 loc) · 2.14 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright the Vortex contributors
---
policy:
approval:
- or:
- a vortex committer has approved
- an untouched renovate pull request has an allowed approval
- claude or codex authored pull requests have two committer approvals
disapproval:
options:
methods:
disapprove:
comments:
- ":-1:"
- "-1"
- "👎"
github_review: true
revoke:
comments:
- ":+1:"
- "+1"
- "👍"
github_review: true
requires:
teams:
- "vortex-data/committers"
approval_defaults:
options:
# Allow explicit PR comments and GitHub reviews, but not PR body text.
methods:
comments:
- ":+1:"
- "+1"
- "👍"
comment_patterns: []
github_review: true
github_review_comment_patterns: []
body_patterns: []
allow_author: false
allow_contributor: false
allow_non_author_contributor: true
invalidate_on_push: false
approval_rules:
- name: a vortex committer has approved
description: "Requires approval from the Committers team."
requires:
count: 1
teams:
- "vortex-data/committers"
- name: an untouched renovate pull request has an allowed approval
description: "Allows approval by renovate-approve or a committer only when every commit in the PR is still Renovate-authored or Renovate-committed."
if:
has_author_in:
users:
- "renovate[bot]"
only_has_contributors_in:
users:
- "renovate[bot]"
options:
allow_author: true
allow_contributor: true
requires:
count: 1
users:
- "renovate-approve[bot]"
teams:
- "vortex-data/committers"
- name: claude or codex authored pull requests have two committer approvals
if:
has_author_in:
users:
- "vortex-claude[bot]"
- "claude-code[bot]"
- "codex[bot]"
- "openai-codex[bot]"
requires:
count: 2
teams:
- "vortex-data/committers"