From 42652c8e48a5399d16a353c63458aa6009bc1cfb Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Fri, 14 Mar 2025 10:23:25 -0600 Subject: [PATCH 01/10] feat: email scalar --- automation-tests.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/automation-tests.php b/automation-tests.php index 10895dc..fa6cc26 100644 --- a/automation-tests.php +++ b/automation-tests.php @@ -16,3 +16,5 @@ add_action( 'admin_notices', function() { echo '

😇 Automation Tests v' . AUTOMATION_TESTS_VERSION . '

'; }); + +// Pretend that we added the Email Scalar \ No newline at end of file From d082e86f463c0a721b071882bacc2447937d1d9d Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Fri, 14 Mar 2025 10:25:34 -0600 Subject: [PATCH 02/10] Revert "feat: email scalar" --- automation-tests.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/automation-tests.php b/automation-tests.php index fa6cc26..10895dc 100644 --- a/automation-tests.php +++ b/automation-tests.php @@ -16,5 +16,3 @@ add_action( 'admin_notices', function() { echo '

😇 Automation Tests v' . AUTOMATION_TESTS_VERSION . '

'; }); - -// Pretend that we added the Email Scalar \ No newline at end of file From 97939c73ce84eea2276c20c80b9dc384acd5eb45 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 14 Mar 2025 16:26:09 +0000 Subject: [PATCH 03/10] chore: add changeset for PR #57 --- .changesets/20250314T162609-pr-57.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changesets/20250314T162609-pr-57.md diff --git a/.changesets/20250314T162609-pr-57.md b/.changesets/20250314T162609-pr-57.md new file mode 100644 index 0000000..19fc7a5 --- /dev/null +++ b/.changesets/20250314T162609-pr-57.md @@ -0,0 +1,9 @@ +--- +title: 'Revert feat:' +pr: 57 +author: jasonbahl +type: other +breaking: false +branch: milestone/custom-scalars +--- +Reverts wp-graphql/automation-tests#56 From bbc9a106e52ecc362bc624609e9dbd85b0dc9c3b Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Fri, 14 Mar 2025 10:28:48 -0600 Subject: [PATCH 04/10] - remove changeset for the revert --- .changesets/20250314T162609-pr-57.md | 9 --------- automation-tests.php | 3 +++ 2 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 .changesets/20250314T162609-pr-57.md diff --git a/.changesets/20250314T162609-pr-57.md b/.changesets/20250314T162609-pr-57.md deleted file mode 100644 index 19fc7a5..0000000 --- a/.changesets/20250314T162609-pr-57.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: 'Revert feat:' -pr: 57 -author: jasonbahl -type: other -breaking: false -branch: milestone/custom-scalars ---- -Reverts wp-graphql/automation-tests#56 diff --git a/automation-tests.php b/automation-tests.php index 10895dc..145a6a8 100644 --- a/automation-tests.php +++ b/automation-tests.php @@ -16,3 +16,6 @@ add_action( 'admin_notices', function() { echo '

😇 Automation Tests v' . AUTOMATION_TESTS_VERSION . '

'; }); + +// SCALARS: +// - Email \ No newline at end of file From 01748d47bb3a3d248c2be32aa2defcf53dabf76e Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 14 Mar 2025 16:30:21 +0000 Subject: [PATCH 05/10] chore: add changeset for PR #59 --- .changesets/20250314T163021-pr-59.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changesets/20250314T163021-pr-59.md diff --git a/.changesets/20250314T163021-pr-59.md b/.changesets/20250314T163021-pr-59.md new file mode 100644 index 0000000..21820db --- /dev/null +++ b/.changesets/20250314T163021-pr-59.md @@ -0,0 +1,9 @@ +--- +title: 'feat: email scalar' +pr: 59 +author: jasonbahl +type: feat +breaking: false +branch: milestone/custom-scalars +--- +Pretend to add the Email Scalar From 8286b33f3bbbe8c37411d5f3cff562753ae3b1be Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Fri, 14 Mar 2025 10:37:20 -0600 Subject: [PATCH 06/10] no message --- automation-tests.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/automation-tests.php b/automation-tests.php index 145a6a8..d10d086 100644 --- a/automation-tests.php +++ b/automation-tests.php @@ -18,4 +18,5 @@ }); // SCALARS: -// - Email \ No newline at end of file +// - Email +// - Phone From 390fad5da82f1f4a0f02896c76e66117e8469051 Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Fri, 14 Mar 2025 10:37:58 -0600 Subject: [PATCH 07/10] - update pr title for milestone prs --- .github/workflows/milestone-branch-workflow.md | 2 +- docs/WORKFLOW_VISUALIZATION.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/milestone-branch-workflow.md b/.github/workflows/milestone-branch-workflow.md index bdd1855..04366df 100644 --- a/.github/workflows/milestone-branch-workflow.md +++ b/.github/workflows/milestone-branch-workflow.md @@ -50,7 +50,7 @@ When a PR is merged to a milestone branch, the changeset generation workflow: The workflow automatically creates and maintains a PR from the milestone branch to the develop branch: -1. **PR Title**: `feat: feature-name 🚀` +1. **PR Title**: `milestone: feature-name 🚀` 2. **PR Body**: Contains: - Milestone information and progress - Link to the GitHub Milestone diff --git a/docs/WORKFLOW_VISUALIZATION.md b/docs/WORKFLOW_VISUALIZATION.md index 4f0e6f2..b5d3ebf 100644 --- a/docs/WORKFLOW_VISUALIZATION.md +++ b/docs/WORKFLOW_VISUALIZATION.md @@ -244,7 +244,7 @@ graph TD D[Feature Branch 3] -->|Create PR| B B -->|Merge PR| E[Generate Changeset] E -->|Commit Changeset| B - B -->|Create/Update PR| F[develop] + B -->|Create/Update PR with title "milestone: feature-name 🚀"| F[develop] F -->|Merge PR| G[Generate Changeset] G -->|Commit Changeset| F F -->|Create/Update PR| H[main] From 1943de3fc4a6dd0b78e66ddb9ecabefda653755f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 14 Mar 2025 16:39:22 +0000 Subject: [PATCH 08/10] chore: add changeset for PR #60 --- .changesets/20250314T163922-pr-60.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changesets/20250314T163922-pr-60.md diff --git a/.changesets/20250314T163922-pr-60.md b/.changesets/20250314T163922-pr-60.md new file mode 100644 index 0000000..b658986 --- /dev/null +++ b/.changesets/20250314T163922-pr-60.md @@ -0,0 +1,9 @@ +--- +title: 'feat: phone scalar' +pr: 60 +author: jasonbahl +type: feat +breaking: false +branch: milestone/custom-scalars +--- +null From cbb8237e900b197d5ab0b2b50453871ce972f639 Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Fri, 14 Mar 2025 10:42:50 -0600 Subject: [PATCH 09/10] feat!: simulate a breaking change --- automation-tests.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/automation-tests.php b/automation-tests.php index d10d086..0758166 100644 --- a/automation-tests.php +++ b/automation-tests.php @@ -20,3 +20,6 @@ // SCALARS: // - Email // - Phone + +// BREAKING CHANGE +// We're simulating a breaking change with this comment. \ No newline at end of file From 0ddd700e6f9e4d8b028e3026661528666d724179 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 14 Mar 2025 16:44:25 +0000 Subject: [PATCH 10/10] chore: add changeset for PR #61 --- .changesets/20250314T164425-pr-61.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changesets/20250314T164425-pr-61.md diff --git a/.changesets/20250314T164425-pr-61.md b/.changesets/20250314T164425-pr-61.md new file mode 100644 index 0000000..2803248 --- /dev/null +++ b/.changesets/20250314T164425-pr-61.md @@ -0,0 +1,9 @@ +--- +title: 'feat!: breaking change' +pr: 61 +author: jasonbahl +type: other +breaking: true +branch: milestone/custom-scalars +--- +Simulating a breaking change to test the workflows