Skip to content

Commit 818ad2f

Browse files
committed
Get all PRs so pending can be included in changelog
Useful when prepping, but use with caution.
1 parent febfb33 commit 818ad2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/ReleaseTools.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ function Update-Changelog {
162162
$Release = $Repo | Get-GitHubRelease -Latest
163163
$Commits = git rev-list "$($Release.tag_name)..."
164164

165-
# NOTE: This is a slow API as it gets all closed PRs, and then filters.
166-
$Bullets = $Repo | Get-GitHubPullRequest -State Closed |
165+
# NOTE: This is a slow API as it gets all PRs, and then filters.
166+
$Bullets = $Repo | Get-GitHubPullRequest -State All |
167167
Where-Object { $_.merge_commit_sha -in $Commits } |
168168
Where-Object { -not $_.user.UserName.EndsWith("[bot]") } |
169169
Where-Object { -not $_.title.StartsWith("[Ignore]") } |

0 commit comments

Comments
 (0)