György Szing | 50f1d08 | 2020-11-25 12:11:37 +0000 | [diff] [blame] | 1 | [access] |
| 2 | inheritFrom = All-Projects |
| 3 | [submit] |
Gyorgy Szing | 0b28a07 | 2021-02-18 00:21:49 +0100 | [diff] [blame] | 4 | 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 Szing | bfbd40b | 2021-08-16 13:13:53 +0200 | [diff] [blame^] | 15 | create = group ts-devs |
Gyorgy Szing | 0b28a07 | 2021-02-18 00:21:49 +0100 | [diff] [blame] | 16 | |
| 17 | [access "refs/heads/*"] |
| 18 | abandon = group ts-maintainers |
| 19 | create = group ts-maintainers |
| 20 | editTopicName = group ts-maintainers |
| 21 | forgeAuthor = group ts-maintainers |
| 22 | forgeCommitter = group ts-maintainers |
| 23 | forgeServerAsCommitter = group ts-maintainers |
| 24 | push = +force group ts-maintainers |
| 25 | pushMerge = group ts-maintainers |
| 26 | submit = group ts-maintainers |
| 27 | submitAs = group ts-maintainers |
| 28 | |
| 29 | label-Code-Review = -1..+1 group Registered Users |
| 30 | label-Code-Owner-Review = -1..+1 group ts-maintainers |
| 31 | label-Maintainer-Review = -1..+1 group ts-maintainers |
| 32 | |
| 33 | label-Verified = -1..+1 group ts-maintainers |
| 34 | |
| 35 | [access "refs/meta/config"] |
| 36 | read = group ts-maintainers |
| 37 | create = group ts-maintainers |
| 38 | push = group ts-maintainers |
| 39 | submit = group ts-maintainers |
| 40 | label-Code-Review = -2..+2 group ts-maintainers |
| 41 | |
| 42 | [access "refs/meta/dashboards/*"] |
| 43 | create = group ts-maintainers |
| 44 | push = group ts-maintainers |
| 45 | |
| 46 | [access "refs/tags/*"] |
| 47 | create = group ts-maintainers |
| 48 | createTag = group ts-maintainers |
| 49 | createSignedTag = group ts-maintainers |
| 50 | |
| 51 | [access "refs/heads/topics/*"] |
| 52 | abandon = group ts-devs |
| 53 | forgeAuthor = group ts-devs |
| 54 | forgeCommitter = group ts-devs |
| 55 | push = group ts-devs |
| 56 | pushMerge = group ts-devs |
| 57 | create = group ts-devs |
| 58 | |
Gyorgy Szing | 05e9892 | 2021-04-14 13:20:59 +0200 | [diff] [blame] | 59 | [access "refs/for/refs/heads/*"] |
Gyorgy Szing | 0b28a07 | 2021-02-18 00:21:49 +0100 | [diff] [blame] | 60 | forgeAuthor = group ts-devs |
| 61 | forgeCommitter = group ts-devs |
Gyorgy Szing | 05e9892 | 2021-04-14 13:20:59 +0200 | [diff] [blame] | 62 | |
| 63 | [access "refs/for/refs/heads/topics/*"] |
| 64 | abandon = group ts-devs |
Gyorgy Szing | e722483 | 2021-08-16 12:48:32 +0200 | [diff] [blame] | 65 | forgeAuthor = group ts-devs |
| 66 | forgeCommitter = group ts-devs |
| 67 | push = group ts-devs |
Gyorgy Szing | 0b28a07 | 2021-02-18 00:21:49 +0100 | [diff] [blame] | 68 | pushMerge = group ts-devs |
Gyorgy Szing | e722483 | 2021-08-16 12:48:32 +0200 | [diff] [blame] | 69 | create = group ts-devs |
Gyorgy Szing | 0b28a07 | 2021-02-18 00:21:49 +0100 | [diff] [blame] | 70 | |
| 71 | # The Code-Review label is purely informational. Contributors that are neither |
| 72 | # code owners for the patch nor maintainers use it to record their concerns. |
| 73 | [label "Code-Review"] |
| 74 | function = NoBlock |
| 75 | value = -1 I would prefer this is not merged as is |
| 76 | value = 0 No score |
| 77 | value = +1 Looks good to me |
| 78 | copyAllScoresIfNoCodeChange = true |
| 79 | copyAllScoresOnTrivialRebase = true |
| 80 | defaultValue = 0 |
| 81 | |
| 82 | # In addition, define our 2 custom labels for code review. |
| 83 | # These influence whether a patch is submittable. |
| 84 | [label "Code-Owner-Review"] |
| 85 | function = MaxWithBlock |
| 86 | value = -1 I would prefer this is not merged as is |
| 87 | value = 0 No score |
| 88 | value = +1 Looks good to me |
| 89 | copyAllScoresIfNoCodeChange = true |
| 90 | copyAllScoresOnTrivialRebase = true |
| 91 | defaultValue = 0 |
| 92 | |
| 93 | [label "Maintainer-Review"] |
| 94 | function = MaxWithBlock |
| 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 | [label "Verified"] |
| 103 | function = MaxWithBlock |
| 104 | value = -1 Fails |
| 105 | value = 0 No score |
| 106 | value = +1 Verified |
| 107 | copyAllScoresIfNoCodeChange = true |
| 108 | copyAllScoresOnTrivialRebase = true |
| 109 | defaultValue = 0 |