Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 52ad4fa

Browse files
authored
Merge pull request #58 from wp-graphql/milestone/custom-scalars
milestone: custom-scalars πŸš€
2 parents 890eb10 + 0ddd700 commit 52ad4fa

File tree

6 files changed

+36
-2
lines changed

6 files changed

+36
-2
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: 'feat: email scalar'
3+
pr: 59
4+
author: jasonbahl
5+
type: feat
6+
breaking: false
7+
branch: milestone/custom-scalars
8+
---
9+
Pretend to add the Email Scalar
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: 'feat: phone scalar'
3+
pr: 60
4+
author: jasonbahl
5+
type: feat
6+
breaking: false
7+
branch: milestone/custom-scalars
8+
---
9+
null
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: 'feat!: breaking change'
3+
pr: 61
4+
author: jasonbahl
5+
type: other
6+
breaking: true
7+
branch: milestone/custom-scalars
8+
---
9+
Simulating a breaking change to test the workflows

β€Ž.github/workflows/milestone-branch-workflow.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ When a PR is merged to a milestone branch, the changeset generation workflow:
5050

5151
The workflow automatically creates and maintains a PR from the milestone branch to the develop branch:
5252

53-
1. **PR Title**: `feat: feature-name πŸš€`
53+
1. **PR Title**: `milestone: feature-name πŸš€`
5454
2. **PR Body**: Contains:
5555
- Milestone information and progress
5656
- Link to the GitHub Milestone

β€Žautomation-tests.phpβ€Ž

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@
1616
add_action( 'admin_notices', function() {
1717
echo '<div class="notice notice-info"><p>πŸ˜‡ Automation Tests v' . AUTOMATION_TESTS_VERSION . '</p></div>';
1818
});
19+
20+
// SCALARS:
21+
// - Email
22+
// - Phone
23+
24+
// BREAKING CHANGE
25+
// We're simulating a breaking change with this comment.

β€Ždocs/WORKFLOW_VISUALIZATION.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ graph TD
244244
D[Feature Branch 3] -->|Create PR| B
245245
B -->|Merge PR| E[Generate Changeset]
246246
E -->|Commit Changeset| B
247-
B -->|Create/Update PR| F[develop]
247+
B -->|Create/Update PR with title "milestone: feature-name πŸš€"| F[develop]
248248
F -->|Merge PR| G[Generate Changeset]
249249
G -->|Commit Changeset| F
250250
F -->|Create/Update PR| H[main]

0 commit comments

Comments
Β (0)