blob: 93e273bcf2b4ae29ff0cce562d37b5a5f306c270 [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 Szinge7224832021-08-16 12:48:32 +020064 forgeAuthor = group ts-devs
65 forgeCommitter = group ts-devs
66 push = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010067 pushMerge = group ts-devs
Gyorgy Szinge7224832021-08-16 12:48:32 +020068 create = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010069
70# The Code-Review label is purely informational. Contributors that are neither
71# code owners for the patch nor maintainers use it to record their concerns.
72[label "Code-Review"]
73 function = NoBlock
74 value = -1 I would prefer this is not merged as is
75 value = 0 No score
76 value = +1 Looks good to me
77 copyAllScoresIfNoCodeChange = true
78 copyAllScoresOnTrivialRebase = true
79 defaultValue = 0
80
81# In addition, define our 2 custom labels for code review.
82# These influence whether a patch is submittable.
83[label "Code-Owner-Review"]
84 function = MaxWithBlock
85 value = -1 I would prefer this is not merged as is
86 value = 0 No score
87 value = +1 Looks good to me
88 copyAllScoresIfNoCodeChange = true
89 copyAllScoresOnTrivialRebase = true
90 defaultValue = 0
91
92[label "Maintainer-Review"]
93 function = MaxWithBlock
94 value = -1 I would prefer this is not merged as is
95 value = 0 No score
96 value = +1 Looks good to me
97 copyAllScoresIfNoCodeChange = true
98 copyAllScoresOnTrivialRebase = true
99 defaultValue = 0
100
101[label "Verified"]
102 function = MaxWithBlock
103 value = -1 Fails
104 value = 0 No score
105 value = +1 Verified
106 copyAllScoresIfNoCodeChange = true
107 copyAllScoresOnTrivialRebase = true
108 defaultValue = 0