mirror of
https://github.com/simstudioai/sim.git
synced 2026-11-29 18:37:30 +08:00
33 lines
1.3 KiB
GraphQL
33 lines
1.3 KiB
GraphQL
query($base: String!, $head: String!) {
|
|
packages { items { name path } }
|
|
affectedTasks(base: $base, head: $head, tasks: [
|
|
"test", "build", "type-check", "ci:integration", "ci:desktop-live",
|
|
"ci:e2e-scim", "ci:e2e-cli", "ci:e2e-stop-after", "ci:e2e-desktop-inbox",
|
|
"ci:e2e-assistant-actions", "ci:e2e-organization-search", "ci:e2e-search-permissions",
|
|
"ci:e2e-docs-platform",
|
|
"ci:e2e-browser-extension", "ci:e2e-project-files", "ci:e2e-mobile", "ci:e2e-seo",
|
|
"ci:e2e-markdown-viewer", "ci:e2e-workflow-code-ui"
|
|
]) {
|
|
items {
|
|
name
|
|
fullName
|
|
package { name }
|
|
reason {
|
|
__typename
|
|
... on TaskFileChanged { filePath }
|
|
... on TaskGlobalFileChanged { filePath }
|
|
... on TaskGlobalDepsChanged { filePath }
|
|
... on TaskDependencyTaskChanged { taskName packageName }
|
|
... on TaskPackageDependencyChanged { packageName }
|
|
... on TaskAllChanged { description }
|
|
}
|
|
}
|
|
}
|
|
# `items` also lists the prerequisites of affected tasks, and docs#build is one for
|
|
# ci:e2e-docs-platform. The task filter applies before prerequisites are added, so this
|
|
# selection holds docs#build only when the docs site itself changed.
|
|
docsSite: affectedTasks(base: $base, head: $head, tasks: ["docs#build"]) {
|
|
items { fullName }
|
|
}
|
|
}
|