You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: .github/workflows/milestone-branch-workflow.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,10 +72,11 @@ The workflow integrates with GitHub Milestones:
72
72
When a milestone branch is eventually merged to develop:
73
73
74
74
1. All changesets from the milestone branch are included in the develop branch.
75
-
2. The existing develop workflow kicks in, updating the PR from develop to main with all changesets.
76
-
3. The changesets maintain their original metadata, including the branch they were created in.
75
+
2. The workflow automatically skips generating a new changeset for the milestone PR itself, since all changes already have their own changesets.
76
+
3. The existing develop workflow kicks in, updating the PR from develop to main with all changesets.
77
+
4. The changesets maintain their original metadata, including the branch they were created in.
77
78
78
-
This ensures that the release notes for the next release include all changes, whether they came from direct PRs to develop or from milestone branches.
79
+
This ensures that the release notes for the next release include all changes, whether they came from direct PRs to develop or from milestone branches, without duplication.
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -424,18 +424,18 @@ For visual representations of the workflows, see [docs/WORKFLOW_VISUALIZATION.md
424
424
425
425
### Milestone Branch Workflow
426
426
427
-
For larger features that span multiple PRs, we use a milestone branch workflow:
428
-
429
-
1. Create a milestone branch with the `milestone/` prefix (e.g., `milestone/custom-scalars`)
430
-
2. Create a GitHub Milestone with the same name (e.g., "custom-scalars")
431
-
3. Create issues for each part of the implementation and assign them to the GitHub Milestone
432
-
4.Create PRs against the milestone branch
433
-
5. When PRs are merged to the milestone branch, changesets are automatically generated
434
-
6. A PR from the milestone branch to `develop` is automatically created/updated
435
-
7. When the milestone is complete, merge the milestone branch to `develop`
436
-
8. The existing workflow will include the milestone changes in the next release
437
-
438
-
For more details, see [Milestone Branch Workflow](.github/workflows/milestone-branch-workflow.md).
427
+
For larger features that span multiple PRs, we use milestone branches. These branches follow the naming convention `milestone/feature-name` and are associated with GitHub Milestones.
428
+
429
+
### Key Features:
430
+
431
+
1.**Branch Naming**: Use `milestone/feature-name` for milestone branches
432
+
2.**GitHub Milestone Integration**: Create a GitHub Milestone with the same name as your feature
433
+
3.**PR Management**: Create PRs against the milestone branch for individual components
434
+
4.**Changeset Generation**: Each PR merged to the milestone branch generates a changeset
435
+
5.**Milestone PR**: A PR from the milestone branch to develop is automatically created/updated
436
+
6.**Changeset Handling**: When merging to develop, no new changeset is generated for the milestone PR itself, as all changes already have changesets
437
+
438
+
For detailed documentation, see [Milestone Branch Workflow](.github/workflows/milestone-branch-workflow.md).
Copy file name to clipboardExpand all lines: docs/WORKFLOW_VISUALIZATION.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -272,9 +272,12 @@ sequenceDiagram
272
272
GH->>MS: Update progress
273
273
GH->>PR: Update PR to develop
274
274
MB->>D: Merge when complete
275
+
Note over D,GH: No new changeset generated for milestone PR
275
276
D->>GH: Include milestone changes in next release
276
277
```
277
278
279
+
This diagram shows how feature branches are merged into a milestone branch, which generates changesets. When the milestone branch is merged to develop, no new changeset is generated since all changes already have their own changesets. The existing changesets are included in the develop branch and will be part of the next release.
0 commit comments