blob: 2f22fd9d31240d68f0cc91eb1217edf83822b4f5 [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
György Szingbfbd40b2021-08-16 13:13:53 +020015 create = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010016
17[access "refs/heads/*"]
18 abandon = group ts-maintainers
19 create = group ts-maintainers
20 editTopicName = group ts-maintainers
György Szing27203a92021-09-17 09:29:32 +020021 forgeAuthor = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010022 forgeAuthor = group ts-maintainers
György Szing27203a92021-09-17 09:29:32 +020023 forgeCommitter = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010024 forgeCommitter = group ts-maintainers
25 forgeServerAsCommitter = group ts-maintainers
26 push = +force group ts-maintainers
27 pushMerge = group ts-maintainers
28 submit = group ts-maintainers
29 submitAs = group ts-maintainers
30
31 label-Code-Review = -1..+1 group Registered Users
32 label-Code-Owner-Review = -1..+1 group ts-maintainers
33 label-Maintainer-Review = -1..+1 group ts-maintainers
34
35 label-Verified = -1..+1 group ts-maintainers
36
37[access "refs/meta/config"]
38 read = group ts-maintainers
39 create = group ts-maintainers
40 push = group ts-maintainers
41 submit = group ts-maintainers
42 label-Code-Review = -2..+2 group ts-maintainers
43
44[access "refs/meta/dashboards/*"]
45 create = group ts-maintainers
46 push = group ts-maintainers
47
48[access "refs/tags/*"]
49 create = group ts-maintainers
50 createTag = group ts-maintainers
51 createSignedTag = group ts-maintainers
52
53[access "refs/heads/topics/*"]
54 abandon = group ts-devs
55 forgeAuthor = group ts-devs
56 forgeCommitter = group ts-devs
57 push = group ts-devs
58 pushMerge = group ts-devs
59 create = group ts-devs
60
Gyorgy Szing05e98922021-04-14 13:20:59 +020061[access "refs/for/refs/heads/*"]
Gyorgy Szing0b28a072021-02-18 00:21:49 +010062 forgeAuthor = group ts-devs
63 forgeCommitter = group ts-devs
Gyorgy Szing05e98922021-04-14 13:20:59 +020064
65[access "refs/for/refs/heads/topics/*"]
66 abandon = group ts-devs
Gyorgy Szinge7224832021-08-16 12:48:32 +020067 forgeAuthor = group ts-devs
68 forgeCommitter = group ts-devs
69 push = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010070 pushMerge = group ts-devs
Gyorgy Szinge7224832021-08-16 12:48:32 +020071 create = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010072
73# The Code-Review label is purely informational. Contributors that are neither
74# code owners for the patch nor maintainers use it to record their concerns.
75[label "Code-Review"]
76 function = NoBlock
77 value = -1 I would prefer this is not merged as is
78 value = 0 No score
79 value = +1 Looks good to me
80 copyAllScoresIfNoCodeChange = true
81 copyAllScoresOnTrivialRebase = true
82 defaultValue = 0
83
84# In addition, define our 2 custom labels for code review.
85# These influence whether a patch is submittable.
86[label "Code-Owner-Review"]
87 function = MaxWithBlock
88 value = -1 I would prefer this is not merged as is
89 value = 0 No score
90 value = +1 Looks good to me
91 copyAllScoresIfNoCodeChange = true
92 copyAllScoresOnTrivialRebase = true
93 defaultValue = 0
94
95[label "Maintainer-Review"]
96 function = MaxWithBlock
97 value = -1 I would prefer this is not merged as is
98 value = 0 No score
99 value = +1 Looks good to me
100 copyAllScoresIfNoCodeChange = true
101 copyAllScoresOnTrivialRebase = true
102 defaultValue = 0
103
104[label "Verified"]
105 function = MaxWithBlock
106 value = -1 Fails
107 value = 0 No score
108 value = +1 Verified
109 copyAllScoresIfNoCodeChange = true
110 copyAllScoresOnTrivialRebase = true
111 defaultValue = 0