blob: 72842cc45af80d563aebdf90d35d1610618846e8 [file] [log] [blame]
György Szing50f1d082020-11-25 12:11:37 +00001[access]
2 inheritFrom = All-Projects
3[submit]
Gyorgy Szing0b28a072021-02-18 00:21:49 +01004 action = inherit
5 rejectEmptyCommit = true
6[receive]
7 requireSignedOffBy = true
8 rejectImplicitMerges = true
9 requireChangeId = true
10[project]
11 description = Access controls for the tf.org/ts namespace
12
13[access "refs/*"]
14 read = group Service Users
15
16[access "refs/heads/*"]
17 abandon = group ts-maintainers
18 create = group ts-maintainers
19 editTopicName = group ts-maintainers
20 forgeAuthor = group ts-maintainers
21 forgeCommitter = group ts-maintainers
22 forgeServerAsCommitter = group ts-maintainers
23 push = +force group ts-maintainers
24 pushMerge = group ts-maintainers
25 submit = group ts-maintainers
26 submitAs = group ts-maintainers
27
28 label-Code-Review = -1..+1 group Registered Users
29 label-Code-Owner-Review = -1..+1 group ts-maintainers
30 label-Maintainer-Review = -1..+1 group ts-maintainers
31
32 label-Verified = -1..+1 group ts-maintainers
33
34[access "refs/meta/config"]
35 read = group ts-maintainers
36 create = group ts-maintainers
37 push = group ts-maintainers
38 submit = group ts-maintainers
39 label-Code-Review = -2..+2 group ts-maintainers
40
41[access "refs/meta/dashboards/*"]
42 create = group ts-maintainers
43 push = group ts-maintainers
44
45[access "refs/tags/*"]
46 create = group ts-maintainers
47 createTag = group ts-maintainers
48 createSignedTag = group ts-maintainers
49
50[access "refs/heads/topics/*"]
51 abandon = group ts-devs
52 forgeAuthor = group ts-devs
53 forgeCommitter = group ts-devs
54 push = group ts-devs
55 pushMerge = group ts-devs
56 create = group ts-devs
57
Gyorgy Szing05e98922021-04-14 13:20:59 +020058[access "refs/for/refs/heads/*"]
Gyorgy Szing0b28a072021-02-18 00:21:49 +010059 forgeAuthor = group ts-devs
60 forgeCommitter = group ts-devs
Gyorgy Szing05e98922021-04-14 13:20:59 +020061
62[access "refs/for/refs/heads/topics/*"]
63 abandon = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010064 push = +force group ts-devs
65 pushMerge = group ts-devs
66
67# The Code-Review label is purely informational. Contributors that are neither
68# code owners for the patch nor maintainers use it to record their concerns.
69[label "Code-Review"]
70 function = NoBlock
71 value = -1 I would prefer this is not merged as is
72 value = 0 No score
73 value = +1 Looks good to me
74 copyAllScoresIfNoCodeChange = true
75 copyAllScoresOnTrivialRebase = true
76 defaultValue = 0
77
78# In addition, define our 2 custom labels for code review.
79# These influence whether a patch is submittable.
80[label "Code-Owner-Review"]
81 function = MaxWithBlock
82 value = -1 I would prefer this is not merged as is
83 value = 0 No score
84 value = +1 Looks good to me
85 copyAllScoresIfNoCodeChange = true
86 copyAllScoresOnTrivialRebase = true
87 defaultValue = 0
88
89[label "Maintainer-Review"]
90 function = MaxWithBlock
91 value = -1 I would prefer this is not merged as is
92 value = 0 No score
93 value = +1 Looks good to me
94 copyAllScoresIfNoCodeChange = true
95 copyAllScoresOnTrivialRebase = true
96 defaultValue = 0
97
98[label "Verified"]
99 function = MaxWithBlock
100 value = -1 Fails
101 value = 0 No score
102 value = +1 Verified
103 copyAllScoresIfNoCodeChange = true
104 copyAllScoresOnTrivialRebase = true
105 defaultValue = 0