|
1 | | -query($base: String!, $head: String!) { |
2 | | - packages { items { name path } } |
3 | | - affectedTasks(base: $base, head: $head, tasks: [ |
4 | | - "test", "build", "type-check", "ci:integration", "ci:desktop-live", |
5 | | - "ci:e2e-scim", "ci:e2e-cli", "ci:e2e-stop-after", "ci:e2e-desktop-inbox", |
6 | | - "ci:e2e-assistant-actions", "ci:e2e-organization-search", "ci:e2e-search-permissions", |
7 | | - "ci:e2e-docs-platform", |
8 | | - "ci:e2e-browser-extension", "ci:e2e-project-files", "ci:e2e-mobile", "ci:e2e-public-routes", |
9 | | - "ci:e2e-markdown-viewer", "ci:e2e-workflow-code-ui" |
10 | | - ]) { |
| 1 | +query ($base: String!, $head: String!) { |
| 2 | + packages { |
| 3 | + items { |
| 4 | + name |
| 5 | + path |
| 6 | + } |
| 7 | + } |
| 8 | + affectedTasks( |
| 9 | + base: $base |
| 10 | + head: $head |
| 11 | + tasks: [ |
| 12 | + "test" |
| 13 | + "build" |
| 14 | + "type-check" |
| 15 | + "ci:integration" |
| 16 | + "ci:desktop-live" |
| 17 | + "ci:e2e-scim" |
| 18 | + "ci:e2e-cli" |
| 19 | + "ci:e2e-stop-after" |
| 20 | + "ci:e2e-desktop-inbox" |
| 21 | + "ci:e2e-assistant-actions" |
| 22 | + "ci:e2e-organization-search" |
| 23 | + "ci:e2e-search-permissions" |
| 24 | + "ci:e2e-docs-platform" |
| 25 | + "ci:e2e-browser-extension" |
| 26 | + "ci:e2e-project-files" |
| 27 | + "ci:e2e-mobile" |
| 28 | + "ci:e2e-public-routes" |
| 29 | + "ci:e2e-markdown-viewer" |
| 30 | + "ci:e2e-workflow-code-ui" |
| 31 | + ] |
| 32 | + ) { |
11 | 33 | items { |
12 | 34 | name |
13 | 35 | fullName |
14 | | - package { name } |
| 36 | + package { |
| 37 | + name |
| 38 | + } |
15 | 39 | reason { |
16 | 40 | __typename |
17 | | - ... on TaskFileChanged { filePath } |
18 | | - ... on TaskGlobalFileChanged { filePath } |
19 | | - ... on TaskGlobalDepsChanged { filePath } |
20 | | - ... on TaskDependencyTaskChanged { taskName packageName } |
21 | | - ... on TaskPackageDependencyChanged { packageName } |
22 | | - ... on TaskAllChanged { description } |
| 41 | + ... on TaskFileChanged { |
| 42 | + filePath |
| 43 | + } |
| 44 | + ... on TaskGlobalFileChanged { |
| 45 | + filePath |
| 46 | + } |
| 47 | + ... on TaskGlobalDepsChanged { |
| 48 | + filePath |
| 49 | + } |
| 50 | + ... on TaskDependencyTaskChanged { |
| 51 | + taskName |
| 52 | + packageName |
| 53 | + } |
| 54 | + ... on TaskPackageDependencyChanged { |
| 55 | + packageName |
| 56 | + } |
| 57 | + ... on TaskAllChanged { |
| 58 | + description |
| 59 | + } |
23 | 60 | } |
24 | 61 | } |
25 | 62 | } |
26 | 63 | # `items` also lists the prerequisites of affected tasks, and docs#build is one for |
27 | 64 | # ci:e2e-docs-platform. The task filter applies before prerequisites are added, so this |
28 | 65 | # selection holds docs#build only when the docs site itself changed. |
29 | 66 | docsSite: affectedTasks(base: $base, head: $head, tasks: ["docs#build"]) { |
30 | | - items { fullName } |
| 67 | + items { |
| 68 | + fullName |
| 69 | + } |
31 | 70 | } |
32 | 71 | } |
0 commit comments