blob: 30af0397dc5a20dccd56e791d199764eaf6b02ff [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]
Gyorgy Szing26ed0f42022-05-17 20:47:02 +020011 description = Access controls for the TS namespace
Gyorgy Szing0b28a072021-02-18 00:21:49 +010012
13[access "refs/*"]
14 read = group Service Users
György Szingbfbd40b2021-08-16 13:13:53 +020015 create = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010016
Gyorgy Szing26ed0f42022-05-17 20:47:02 +020017[access "refs/for/refs/heads/integration"]
18 abandon = group ts-devs
19 forgeAuthor = group ts-devs
20 forgeCommitter = group ts-devs
21 push = group Registered Users
22 pushMerge = group ts-devs
23 rebase = group Registered Users
24 submit = group ts-devs
25[access "refs/heads/integration"]
26 forgeAuthor = group ts-devs
27 forgeCommitter = group ts-devs
28
29[access "refs/for/refs/heads/main"]
30 abandon = group ts-maintainers
31 push = group ts-maintainers
32 pushMerge = group ts-maintainers
33 rebase = group ts-maintainers
34 submit = group ts-maintainers
35[access "refs/heads/main"]
36 push = group ts-maintainers
37 pushMerge = group ts-maintainers
38
Gyorgy Szing0b28a072021-02-18 00:21:49 +010039[access "refs/heads/*"]
40 abandon = group ts-maintainers
41 create = group ts-maintainers
Gyorgy Szing0b28a072021-02-18 00:21:49 +010042 forgeAuthor = group ts-maintainers
43 forgeCommitter = group ts-maintainers
44 forgeServerAsCommitter = group ts-maintainers
45 push = +force group ts-maintainers
46 pushMerge = group ts-maintainers
47 submit = group ts-maintainers
48 submitAs = group ts-maintainers
49
50 label-Code-Review = -1..+1 group Registered Users
51 label-Code-Owner-Review = -1..+1 group ts-maintainers
52 label-Maintainer-Review = -1..+1 group ts-maintainers
53
György Szing94a77032021-11-10 14:40:30 +010054 label-Verified = -1..+1 group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010055
56[access "refs/meta/config"]
57 read = group ts-maintainers
58 create = group ts-maintainers
59 push = group ts-maintainers
60 submit = group ts-maintainers
61 label-Code-Review = -2..+2 group ts-maintainers
62
63[access "refs/meta/dashboards/*"]
64 create = group ts-maintainers
65 push = group ts-maintainers
66
67[access "refs/tags/*"]
68 create = group ts-maintainers
69 createTag = group ts-maintainers
70 createSignedTag = group ts-maintainers
György Szing67fcc692023-09-28 17:03:06 +020071 push = +force group ts-maintainers
Gyorgy Szing0b28a072021-02-18 00:21:49 +010072
Gyorgy Szing26ed0f42022-05-17 20:47:02 +020073[access "refs/heads/topics/*"]
György Szing67fcc692023-09-28 17:03:06 +020074 abandon = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010075 forgeAuthor = group ts-devs
76 forgeCommitter = group ts-devs
Gyorgy Szing26ed0f42022-05-17 20:47:02 +020077 push = group ts-devs
78 push = +force group ts-devs
79 pushMerge = group ts-devs
80 create = group ts-devs
Gyorgy Szing05e98922021-04-14 13:20:59 +020081
Gyorgy Szing26ed0f42022-05-17 20:47:02 +020082[access "refs/for/refs/heads/topics/*"]
Gyorgy Szing05e98922021-04-14 13:20:59 +020083 abandon = group ts-devs
Gyorgy Szinge7224832021-08-16 12:48:32 +020084 forgeAuthor = group ts-devs
85 forgeCommitter = group ts-devs
86 push = group ts-devs
Gyorgy Szing26ed0f42022-05-17 20:47:02 +020087 push = +force group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010088 pushMerge = group ts-devs
Gyorgy Szinge7224832021-08-16 12:48:32 +020089 create = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010090
91# The Code-Review label is purely informational. Contributors that are neither
92# code owners for the patch nor maintainers use it to record their concerns.
93[label "Code-Review"]
94 function = NoBlock
95 value = -1 I would prefer this is not merged as is
96 value = 0 No score
97 value = +1 Looks good to me
98 copyAllScoresIfNoCodeChange = true
99 copyAllScoresOnTrivialRebase = true
100 defaultValue = 0
101
102# In addition, define our 2 custom labels for code review.
103# These influence whether a patch is submittable.
104[label "Code-Owner-Review"]
105 function = MaxWithBlock
106 value = -1 I would prefer this is not merged as is
107 value = 0 No score
108 value = +1 Looks good to me
109 copyAllScoresIfNoCodeChange = true
110 copyAllScoresOnTrivialRebase = true
111 defaultValue = 0
112
113[label "Maintainer-Review"]
114 function = MaxWithBlock
115 value = -1 I would prefer this is not merged as is
116 value = 0 No score
117 value = +1 Looks good to me
118 copyAllScoresIfNoCodeChange = true
119 copyAllScoresOnTrivialRebase = true
120 defaultValue = 0
121
122[label "Verified"]
123 function = MaxWithBlock
124 value = -1 Fails
125 value = 0 No score
126 value = +1 Verified
127 copyAllScoresIfNoCodeChange = true
128 copyAllScoresOnTrivialRebase = true
129 defaultValue = 0