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: eng/common/scripts/Delete-RemoteBranches.ps1
+38-29Lines changed: 38 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,9 @@
1
1
[CmdletBinding(SupportsShouldProcess)]
2
2
param(
3
-
# The repo owner: e.g. Azure
4
-
$RepoOwner,
5
-
# The repo name. E.g. azure-sdk-for-java
6
-
$RepoName,
7
3
# Please use the RepoOwner/RepoName format: e.g. Azure/azure-sdk-for-java
8
-
$RepoId="$RepoOwner/$RepoName",
4
+
$RepoId="$RepoOwner/$RepoName",
5
+
# Upstream repo to check and see if there are existing open PRs from before deleting branch
6
+
$UpstreamRepoId,
9
7
# CentralRepoId the original PR to generate sync PR. E.g Azure/azure-sdk-tools for eng/common
10
8
$CentralRepoId,
11
9
# We start from the sync PRs, use the branch name to get the PR number of central repo. E.g. sync-eng/common-(<branchName>)-(<PrNumber>). Have group name on PR number.
@@ -15,9 +13,11 @@ param(
15
13
# Date format: e.g. Tuesday, April 12, 2022 1:36:02 PM. Allow to use other date format.
0 commit comments