blob: d2e8282152687cdb1d66f0442ab3a184af40f927 [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
Gyorgy Szing0b28a072021-02-18 00:21:49 +010098 defaultValue = 0
TrustedFirmware Code Review6e3b67e2023-10-03 22:50:05 +020099 copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
Gyorgy Szing0b28a072021-02-18 00:21:49 +0100100
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
Gyorgy Szing0b28a072021-02-18 00:21:49 +0100108 defaultValue = 0
TrustedFirmware Code Review6e3b67e2023-10-03 22:50:05 +0200109 copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
Gyorgy Szing0b28a072021-02-18 00:21:49 +0100110
111[label "Maintainer-Review"]
112 function = MaxWithBlock
113 value = -1 I would prefer this is not merged as is
114 value = 0 No score
115 value = +1 Looks good to me
Gyorgy Szing0b28a072021-02-18 00:21:49 +0100116 defaultValue = 0
TrustedFirmware Code Review6e3b67e2023-10-03 22:50:05 +0200117 copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
Gyorgy Szing0b28a072021-02-18 00:21:49 +0100118
119[label "Verified"]
120 function = MaxWithBlock
121 value = -1 Fails
122 value = 0 No score
123 value = +1 Verified
Gyorgy Szing0b28a072021-02-18 00:21:49 +0100124 defaultValue = 0
TrustedFirmware Code Review6e3b67e2023-10-03 22:50:05 +0200125 copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE