Update .github/workflows/pr_check_client_side_changes.yml

Co-authored-by: Max Schmitt <max@schmitt.mx>
Signed-off-by: Meir Blachman <meirblachman@gmail.com>
This commit is contained in:
Meir Blachman 2024-10-20 19:27:29 +03:00 committed by GitHub
parent d03aec22a3
commit 3a92beb666
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ jobs:
repo: context.repo.repo, repo: context.repo.repo,
commit_sha: context.sha, commit_sha: context.sha,
}); });
const commitHeader = data.message.split('\n')[0].substring(1); // skip the `#` character 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; const title = '[Ports]: Backport client side changes for ' + currentPlaywrightVersion;
for (const repo of ['playwright-python', 'playwright-java', 'playwright-dotnet']) { for (const repo of ['playwright-python', 'playwright-java', 'playwright-dotnet']) {