From 4b187107ee341fb1576f790f8377d356acc4fa87 Mon Sep 17 00:00:00 2001 From: Meir Blachman Date: Sun, 20 Oct 2024 19:44:48 +0300 Subject: [PATCH] devops: fix 'client side changes bot' PR links in PRs (#33189) --- .github/workflows/pr_check_client_side_changes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_check_client_side_changes.yml b/.github/workflows/pr_check_client_side_changes.yml index 17a8da9ca3..6612845f47 100644 --- a/.github/workflows/pr_check_client_side_changes.yml +++ b/.github/workflows/pr_check_client_side_changes.yml @@ -27,7 +27,7 @@ jobs: repo: context.repo.repo, commit_sha: context.sha, }); - const commitHeader = data.message.split('\n')[0]; + const commitHeader = data.message.split('\n')[0].replace(/#(\d+)/g, 'https://github.com/microsoft/playwright/pull/$1'); const title = '[Ports]: Backport client side changes for ' + currentPlaywrightVersion; for (const repo of ['playwright-python', 'playwright-java', 'playwright-dotnet']) {