Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: filter merged comments to hide better (#26546)

Max Schmitt3916e36976a3
diff --git a/.github/workflows/create_test_report.yml b/.github/workflows/create_test_report.yml
index cee6645608..ec5789942c 100644
--- a/.github/workflows/create_test_report.yml
+++ b/.github/workflows/create_test_report.yml
@@ -80,7 +80,7 @@ jobs:
issue_number: prNumber,
});
for (const comment of comments) {
- if (comment.user.login === 'github-actions[bot]' && comment.body.includes('Test results')) {
+ if (comment.user.login === 'github-actions[bot]' && /\[Test results\]\(https:\/\/.+?\) for "${{ github.event.workflow_run.name }}"/.test(comment.body)) {
await github.graphql(`
mutation {
minimizeComment(input: {subjectId: "${comment.node_id}", classifier: OUTDATED}) {