-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.gitvote.yml
More file actions
68 lines (64 loc) · 2.18 KB
/
Copy path.gitvote.yml
File metadata and controls
68 lines (64 loc) · 2.18 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
# GitVote configuration for cloudnative-pg/cnpg-playground.
#
# Rendered by cnpg-infra's scripts/render-gitvote-config.sh -- see
# cnpg-infra's gitvote-policy.yaml and scripts/check-gitvote-config.sh /
# fix-gitvote-config.sh for how this file is generated and enforced.
#
# Voters are this repository's own cnpg-playground-owners GitHub team (repo-tiers.yaml's
# owners field is what populates it; see sync-project-owner-teams.sh).
# Component Owner-level decisions per CONTRIBUTOR_LADDER.md are scoped to
# the repository, not org-wide. The profiles below mirror
# CONTRIBUTOR_LADDER.md's two repository-level thresholds:
# - default: simple majority, Contributor promotion/removal
# - component-owner: two-thirds majority, Component Owner
# promotion/removal (/vote-component-owner)
# plus, where this repo belongs to a subproject, the same two scoped to
# that subproject's maintainer committee, for the case where this repo has
# too few named owners to decide for itself.
#
# The thresholds are 50.01 and 66.66, not 50 and 66, because gitvote
# passes a vote on >= rather than >: a flat 50 would let an even-sized
# electorate tie and still pass. See cnpg-infra's
# scripts/render-gitvote-config.sh for the full reasoning.
automation:
enabled: false
rules:
- patterns: []
profile: default
profiles:
default:
duration: 1w
pass_threshold: 50.01
allowed_voters:
teams:
- cnpg-playground-owners
users: []
close_on_passing: true
close_on_passing_min_wait: "10 minutes"
component-owner:
duration: 1w
pass_threshold: 66.66
allowed_voters:
teams:
- cnpg-playground-owners
users: []
close_on_passing: true
close_on_passing_min_wait: "10 minutes"
committee:
duration: 1w
pass_threshold: 50.01
allowed_voters:
teams:
- community-ecosystem-maintainers
users: []
close_on_passing: true
close_on_passing_min_wait: "10 minutes"
committee-component-owner:
duration: 1w
pass_threshold: 66.66
allowed_voters:
teams:
- community-ecosystem-maintainers
users: []
close_on_passing: true
close_on_passing_min_wait: "10 minutes"