From 050e15f64252e64be0ba24916b477a67635ee276 Mon Sep 17 00:00:00 2001
From: "Michael Mainer (from Dev Box)"
<8527305+MIchaelMainer@users.noreply.github.com>
Date: Tue, 30 Sep 2025 11:42:26 -0700
Subject: [PATCH] ci: update script to special case for beta typing versioning
---
scripts/create-pull-request.ps1 | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/scripts/create-pull-request.ps1 b/scripts/create-pull-request.ps1
index 3478a084a..6b4571f30 100644
--- a/scripts/create-pull-request.ps1
+++ b/scripts/create-pull-request.ps1
@@ -9,8 +9,16 @@ if (($env:GeneratePullRequest -eq $False)) { # Skip CI if manually running this
return;
}
+# Special case for beta typings as it uses a non-conforming preview versioning.
+if ($env:RepoName.Contains("msgraph-beta-typescript-typings"))
+{
+ $title = "feat: generated $version models and request builders"
+}
+else {
+ $title = "Generated $version models and request builders"
+}
+
$version = $env:Version
-$title = "Generated $version models and request builders"
$body = ":bangbang:**_Important_**:bangbang:
Check for unexpected deletions or changes in this PR and ensure relevant CI checks are passing.
**Note:** This pull request was automatically created by Azure pipelines."
$baseBranchParameter = ""