Skip to content

Commit 7119664

Browse files
authored
Fix the GitHub action (#2118)
1 parent d06c417 commit 7119664

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/IssuePreTriage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525

2626
- name: do-work
2727
run: |
28-
$env:GITHUB_TOKEN = ${{ secrets.GITHUB_TOKEN }}
28+
$env:GITHUB_TOKEN = '${{ secrets.GITHUB_TOKEN }}'
2929
./tools/issue-mgmt/CloseDupIssues.ps1

tools/issue-mgmt/CloseDupIssues.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ foreach ($item in $issues)
5555

5656
if ($body.Contains('System.ArgumentOutOfRangeException:') -and
5757
$body.Contains('System.Console.SetCursorPosition(') -and
58-
$body.Contains('Microsoft.PowerShell.PSConsoleReadLine.ReallyRender('))
58+
$body.Contains('Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(') -and
59+
-not $body.Contains('Microsoft.PowerShell.PSConsoleReadLine.CalculateWhereAndWhatToRender('))
5960
{
6061
## The issue either reported an old version of PSReadLine, or provided no
6162
## information about the version. In either case, it's likely a duplicate

0 commit comments

Comments
 (0)