From c72556a67a59b4eeb204ef2afe61117688e427e2 Mon Sep 17 00:00:00 2001 From: Tsurupeta <41485301+Tsurupeta@users.noreply.github.com> Date: Mon, 27 Mar 2023 21:55:27 +0300 Subject: [PATCH] fix(changelog): possibly fixes CL PR #10116 --- .github/workflows/check_changelog.yml | 2 +- tools/ChangelogGenerator/ClCheck.csx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_changelog.yml b/.github/workflows/check_changelog.yml index ddbd0a32705..697d0719874 100644 --- a/.github/workflows/check_changelog.yml +++ b/.github/workflows/check_changelog.yml @@ -21,7 +21,7 @@ jobs: - name: .NET SDK setup uses: actions/setup-dotnet@v1 with: - dotnet-version: 6.0.x + dotnet-version: 7.0.x - name: Install depends run: dotnet tool install -g dotnet-script - name: Check changelog in PR diff --git a/tools/ChangelogGenerator/ClCheck.csx b/tools/ChangelogGenerator/ClCheck.csx index 708d92b1c72..5b8c16d806a 100644 --- a/tools/ChangelogGenerator/ClCheck.csx +++ b/tools/ChangelogGenerator/ClCheck.csx @@ -43,7 +43,7 @@ public async Task RemoveAllClLabelsExcept(string except) { if (clLabels.Contains(label.Name) && label.Name != except) { - await client.DeleteAsync($"repos/{githubRepository}/issues/{pullRequest.Number}/labels/{Uri.EscapeUriString(label.Name)}"); + await client.DeleteAsync($"repos/{githubRepository}/issues/{pullRequest.Number}/labels/{Uri.EscapeDataString(label.Name)}"); } } }