-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathknope.toml
More file actions
80 lines (65 loc) · 3.4 KB
/
Copy pathknope.toml
File metadata and controls
80 lines (65 loc) · 3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[changes]
ignore_conventional_commits = true
[bot.checks]
skip_labels = ["chore", "internal"]
[bot.releases]
enabled = true
pull_request.title = "chore(release): router crates and artifacts"
[github]
owner = "graphql-hive"
repo = "router"
[packages.hive-router-query-planner]
versioned_files = ["lib/query-planner/Cargo.toml", { path = "lib/executor/Cargo.toml", dependency = "hive-router-query-planner" }, { path = "bin/router/Cargo.toml", dependency = "hive-router-query-planner" }, "Cargo.lock"]
changelog = "lib/query-planner/CHANGELOG.md"
[packages.hive-router-plan-executor]
versioned_files = ["lib/executor/Cargo.toml", { path = "bin/router/Cargo.toml", dependency = "hive-router-plan-executor" }, "Cargo.lock"]
changelog = "lib/executor/CHANGELOG.md"
[packages.hive-router-config]
versioned_files = ["lib/router-config/Cargo.toml", { path = "lib/executor/Cargo.toml", dependency = "hive-router-config" }, { path = "bin/router/Cargo.toml", dependency = "hive-router-config" }, { path = "lib/internal/Cargo.toml", dependency = "hive-router-config" }, "Cargo.lock"]
changelog = "lib/router-config/CHANGELOG.md"
[packages.hive-router-internal]
versioned_files = ["lib/internal/Cargo.toml", { path = "lib/executor/Cargo.toml", dependency = "hive-router-internal" }, { path = "bin/router/Cargo.toml", dependency = "hive-router-internal" }, "Cargo.lock"]
changelog = "lib/internal/CHANGELOG.md"
[packages.graphql-tools]
versioned_files = ["lib/graphql-tools/Cargo.toml", { path = "lib/executor/Cargo.toml", dependency = "graphql-tools" }, { path = "lib/query-planner/Cargo.toml", dependency = "graphql-tools" }, { path = "lib/hive-console-sdk/Cargo.toml", dependency = "graphql-tools" }, { path = "bin/router/Cargo.toml", dependency = "graphql-tools" }, "Cargo.lock"]
changelog = "lib/graphql-tools/CHANGELOG.md"
[packages.hive-console-sdk]
versioned_files = ["lib/hive-console-sdk/Cargo.toml", { path = "bin/router/Cargo.toml", dependency = "hive-console-sdk" }, "Cargo.lock", { path = "apollo-router-workspace/bin/router/Cargo.toml", dependency = "hive-console-sdk" }, { path = "apollo-router-workspace/Cargo.lock", dependency = "hive-console-sdk" }]
changelog = "lib/hive-console-sdk/CHANGELOG.md"
[packages.hive-router]
versioned_files = ["bin/router/Cargo.toml", "Cargo.lock"]
changelog = "bin/router/CHANGELOG.md"
[packages.node-addon]
versioned_files = ["lib/node-addon/package.json", "lib/node-addon/Cargo.toml", "Cargo.lock"]
changelog = "lib/node-addon/CHANGELOG.md"
[packages.apollo-router-hive-fork]
versioned_files = ["apollo-router-workspace/bin/router/Cargo.toml", "apollo-router-workspace/Cargo.lock"]
changelog = "apollo-router-workspace/bin/router/CHANGELOG.md"
# "release" pipeline that prepares the release and pushes a release PR
[[workflows]]
name = "release"
[[workflows.steps]]
type = "PrepareRelease"
[[workflows.steps]]
type = "Command"
command = 'git commit -m "chore: prepare releases"'
[[workflows.steps]]
type = "Command"
command = "git push"
[[workflows.steps]]
type = "Release"
# "document-change" / "changeset" pipeline that helps to create a changeset file during development
[[workflows]]
name = "document-change"
[[workflows.steps]]
type = "CreateChangeFile"
[[workflows.steps]]
type = "Command"
command = "./.changeset/release-sync.sh"
[[workflows]]
name = "changeset"
[[workflows.steps]]
type = "CreateChangeFile"
[[workflows.steps]]
type = "Command"
command = "./.changeset/release-sync.sh"