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
Copy file name to clipboardExpand all lines: scripts/create-pull-request.ps1
+7-11Lines changed: 7 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -9,19 +9,15 @@ if (($env:GeneratePullRequest -eq $False)) { # Skip CI if manually running this
9
9
return;
10
10
}
11
11
12
-
$version=$env:Version
13
-
14
-
if ($version-ne'')
12
+
# Special case for beta typings as it uses a non-conforming preview versioning. Helps with triggering Release Please.
13
+
if ($env:RepoName.Contains("msgraph-beta-typescript-typings"))
15
14
{
16
-
# Special case for beta typings as it uses a non-conforming preview versioning. Helps with triggering Release Please.
17
-
if ($env:RepoName.Contains("msgraph-beta-typescript-typings"))
18
-
{
19
-
$title="feat: generated $version models and request builders"
20
-
}
21
-
else {
22
-
$title="Generated $version models and request builders"
23
-
}
15
+
$title="feat: generated $env:Version models and request builders"
16
+
}
17
+
else {
18
+
$title="Generated $env:Version models and request builders"
24
19
}
20
+
25
21
$body=":bangbang:**_Important_**:bangbang: <br> Check for unexpected deletions or changes in this PR and ensure relevant CI checks are passing. <br><br> **Note:** This pull request was automatically created by Azure pipelines."
0 commit comments