blob: c040e912577289f5bd6cdf3c8ee04074bb0b5c38 [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
71
Gyorgy Szing26ed0f42022-05-17 20:47:02 +020072[access "refs/heads/topics/*"]
73 abandon = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010074 forgeAuthor = group ts-devs
75 forgeCommitter = group ts-devs
Gyorgy Szing26ed0f42022-05-17 20:47:02 +020076 push = group ts-devs
77 push = +force group ts-devs
78 pushMerge = group ts-devs
79 create = group ts-devs
Gyorgy Szing05e98922021-04-14 13:20:59 +020080
Gyorgy Szing26ed0f42022-05-17 20:47:02 +020081[access "refs/for/refs/heads/topics/*"]
Gyorgy Szing05e98922021-04-14 13:20:59 +020082 abandon = group ts-devs
Gyorgy Szinge7224832021-08-16 12:48:32 +020083 forgeAuthor = group ts-devs
84 forgeCommitter = group ts-devs
85 push = group ts-devs
Gyorgy Szing26ed0f42022-05-17 20:47:02 +020086 push = +force group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010087 pushMerge = group ts-devs
Gyorgy Szinge7224832021-08-16 12:48:32 +020088 create = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010089
90# The Code-Review label is purely informational. Contributors that are neither
91# code owners for the patch nor maintainers use it to record their concerns.
92[label "Code-Review"]
93 function = NoBlock
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# In addition, define our 2 custom labels for code review.
102# These influence whether a patch is submittable.
103[label "Code-Owner-Review"]
104 function = MaxWithBlock
105 value = -1 I would prefer this is not merged as is
106 value = 0 No score
107 value = +1 Looks good to me
108 copyAllScoresIfNoCodeChange = true
109 copyAllScoresOnTrivialRebase = true
110 defaultValue = 0
111
112[label "Maintainer-Review"]
113 function = MaxWithBlock
114 value = -1 I would prefer this is not merged as is
115 value = 0 No score
116 value = +1 Looks good to me
117 copyAllScoresIfNoCodeChange = true
118 copyAllScoresOnTrivialRebase = true
119 defaultValue = 0
120
121[label "Verified"]
122 function = MaxWithBlock
123 value = -1 Fails
124 value = 0 No score
125 value = +1 Verified
126 copyAllScoresIfNoCodeChange = true
127 copyAllScoresOnTrivialRebase = true
128 defaultValue = 0