blob: 57f4edf782af14f9ac5a8c9e6116370f9a9106b2 [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
György Szing94a77032021-11-10 14:40:30 +010035 label-Verified = -1..+1 group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010036
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
Gyorgy Szing05e98922021-04-14 13:20:59 +020053[access "refs/for/refs/heads/*"]
Gyorgy Szing0b28a072021-02-18 00:21:49 +010054 forgeAuthor = group ts-devs
55 forgeCommitter = group ts-devs
Gyorgy Szing05e98922021-04-14 13:20:59 +020056
Gyorgy Szingf31a0b82021-11-10 15:22:56 +010057[access "^refs(/for/refs)?/heads/topics/.*"]
Gyorgy Szing05e98922021-04-14 13:20:59 +020058 abandon = group ts-devs
Gyorgy Szinge7224832021-08-16 12:48:32 +020059 forgeAuthor = group ts-devs
60 forgeCommitter = group ts-devs
61 push = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010062 pushMerge = group ts-devs
Gyorgy Szinge7224832021-08-16 12:48:32 +020063 create = group ts-devs
Gyorgy Szing0b28a072021-02-18 00:21:49 +010064
65# The Code-Review label is purely informational. Contributors that are neither
66# code owners for the patch nor maintainers use it to record their concerns.
67[label "Code-Review"]
68 function = NoBlock
69 value = -1 I would prefer this is not merged as is
70 value = 0 No score
71 value = +1 Looks good to me
72 copyAllScoresIfNoCodeChange = true
73 copyAllScoresOnTrivialRebase = true
74 defaultValue = 0
75
76# In addition, define our 2 custom labels for code review.
77# These influence whether a patch is submittable.
78[label "Code-Owner-Review"]
79 function = MaxWithBlock
80 value = -1 I would prefer this is not merged as is
81 value = 0 No score
82 value = +1 Looks good to me
83 copyAllScoresIfNoCodeChange = true
84 copyAllScoresOnTrivialRebase = true
85 defaultValue = 0
86
87[label "Maintainer-Review"]
88 function = MaxWithBlock
89 value = -1 I would prefer this is not merged as is
90 value = 0 No score
91 value = +1 Looks good to me
92 copyAllScoresIfNoCodeChange = true
93 copyAllScoresOnTrivialRebase = true
94 defaultValue = 0
95
96[label "Verified"]
97 function = MaxWithBlock
98 value = -1 Fails
99 value = 0 No score
100 value = +1 Verified
101 copyAllScoresIfNoCodeChange = true
102 copyAllScoresOnTrivialRebase = true
103 defaultValue = 0