microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
.github/policies/prs.triage.generated.yml
208lines · modecode
| 1 | # This file is generated by the sync-labels script DO NOT EDIT manually |
| 2 | id: prs.triage |
| 3 | name: Assign area labels to PRs |
| 4 | description: Assign area labels to PR depending on path modified. |
| 5 | resource: repository |
| 6 | disabled: false |
| 7 | configuration: |
| 8 | resourceManagementConfiguration: |
| 9 | eventResponderTasks: |
| 10 | - if: |
| 11 | - payloadType: Pull_Request |
| 12 | then: |
| 13 | - if: |
| 14 | - includesModifiedFiles: |
| 15 | files: |
| 16 | - packages/compiler/**/* |
| 17 | then: |
| 18 | - addLabel: |
| 19 | label: compiler:core |
| 20 | - if: |
| 21 | - includesModifiedFiles: |
| 22 | files: [] |
| 23 | then: |
| 24 | - addLabel: |
| 25 | label: compiler:emitter-framework |
| 26 | - if: |
| 27 | - includesModifiedFiles: |
| 28 | files: |
| 29 | - packages/typespec-vscode/**/* |
| 30 | - packages/typespec-vs/**/* |
| 31 | then: |
| 32 | - addLabel: |
| 33 | label: ide |
| 34 | - if: |
| 35 | - includesModifiedFiles: |
| 36 | files: |
| 37 | - packages/http/**/* |
| 38 | then: |
| 39 | - addLabel: |
| 40 | label: lib:http |
| 41 | - if: |
| 42 | - includesModifiedFiles: |
| 43 | files: |
| 44 | - packages/openapi/**/* |
| 45 | then: |
| 46 | - addLabel: |
| 47 | label: lib:openapi |
| 48 | - if: |
| 49 | - includesModifiedFiles: |
| 50 | files: |
| 51 | - packages/rest/**/* |
| 52 | then: |
| 53 | - addLabel: |
| 54 | label: lib:rest |
| 55 | - if: |
| 56 | - includesModifiedFiles: |
| 57 | files: |
| 58 | - packages/versioning/**/* |
| 59 | then: |
| 60 | - addLabel: |
| 61 | label: lib:versioning |
| 62 | - if: |
| 63 | - includesModifiedFiles: |
| 64 | files: |
| 65 | - packages/http-specs/**/* |
| 66 | then: |
| 67 | - addLabel: |
| 68 | label: lib:http-specs |
| 69 | - if: |
| 70 | - includesModifiedFiles: |
| 71 | files: |
| 72 | - blog/**/* |
| 73 | then: |
| 74 | - addLabel: |
| 75 | label: meta:blog |
| 76 | - if: |
| 77 | - includesModifiedFiles: |
| 78 | files: |
| 79 | - website/**/* |
| 80 | then: |
| 81 | - addLabel: |
| 82 | label: meta:website |
| 83 | - if: |
| 84 | - includesModifiedFiles: |
| 85 | files: |
| 86 | - packages/tspd/**/* |
| 87 | then: |
| 88 | - addLabel: |
| 89 | label: tspd |
| 90 | - if: |
| 91 | - includesModifiedFiles: |
| 92 | files: [] |
| 93 | then: |
| 94 | - addLabel: |
| 95 | label: emitter:client:all |
| 96 | - if: |
| 97 | - includesModifiedFiles: |
| 98 | files: |
| 99 | - packages/http-client-js/**/* |
| 100 | then: |
| 101 | - addLabel: |
| 102 | label: emitter:client:js |
| 103 | - if: |
| 104 | - includesModifiedFiles: |
| 105 | files: |
| 106 | - packages/http-client-csharp/**/* |
| 107 | then: |
| 108 | - addLabel: |
| 109 | label: emitter:client:csharp |
| 110 | - if: |
| 111 | - includesModifiedFiles: |
| 112 | files: |
| 113 | - packages/http-client-java/**/* |
| 114 | then: |
| 115 | - addLabel: |
| 116 | label: emitter:client:java |
| 117 | - if: |
| 118 | - includesModifiedFiles: |
| 119 | files: |
| 120 | - packages/http-client-python/**/* |
| 121 | then: |
| 122 | - addLabel: |
| 123 | label: emitter:client:python |
| 124 | - if: |
| 125 | - includesModifiedFiles: |
| 126 | files: |
| 127 | - packages/graphql/**/* |
| 128 | then: |
| 129 | - addLabel: |
| 130 | label: emitter:graphql |
| 131 | - if: |
| 132 | - includesModifiedFiles: |
| 133 | files: |
| 134 | - packages/json-schema/**/* |
| 135 | then: |
| 136 | - addLabel: |
| 137 | label: emitter:json-schema |
| 138 | - if: |
| 139 | - includesModifiedFiles: |
| 140 | files: |
| 141 | - packages/protobuf/**/* |
| 142 | then: |
| 143 | - addLabel: |
| 144 | label: emitter:protobuf |
| 145 | - if: |
| 146 | - includesModifiedFiles: |
| 147 | files: |
| 148 | - packages/openapi3/**/* |
| 149 | then: |
| 150 | - addLabel: |
| 151 | label: emitter:openapi3 |
| 152 | - if: |
| 153 | - includesModifiedFiles: |
| 154 | files: |
| 155 | - packages/openapi3/src/cli/actions/convert/**/* |
| 156 | then: |
| 157 | - addLabel: |
| 158 | label: openapi3:converter |
| 159 | - if: |
| 160 | - includesModifiedFiles: |
| 161 | files: |
| 162 | - packages/http-server-csharp |
| 163 | then: |
| 164 | - addLabel: |
| 165 | label: emitter:service:csharp |
| 166 | - if: |
| 167 | - includesModifiedFiles: |
| 168 | files: |
| 169 | - packages/http-server-js |
| 170 | then: |
| 171 | - addLabel: |
| 172 | label: emitter:service:js |
| 173 | - if: |
| 174 | - includesModifiedFiles: |
| 175 | files: [] |
| 176 | then: |
| 177 | - addLabel: |
| 178 | label: emitter:service:java |
| 179 | - if: |
| 180 | - includesModifiedFiles: |
| 181 | files: |
| 182 | - eng/**/* |
| 183 | - .github/**/* |
| 184 | then: |
| 185 | - addLabel: |
| 186 | label: eng |
| 187 | - if: |
| 188 | - includesModifiedFiles: |
| 189 | files: |
| 190 | - packages/playground/**/* |
| 191 | then: |
| 192 | - addLabel: |
| 193 | label: ui:playground |
| 194 | - if: |
| 195 | - includesModifiedFiles: |
| 196 | files: |
| 197 | - packages/html-program-viewer/**/* |
| 198 | then: |
| 199 | - addLabel: |
| 200 | label: ui:type-graph-viewer |
| 201 | - if: |
| 202 | - includesModifiedFiles: |
| 203 | files: |
| 204 | - packages/spector/**/* |
| 205 | - packages/http-specs |
| 206 | then: |
| 207 | - addLabel: |
| 208 | label: spector |
| 209 | |