We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5405805 commit 41944e5Copy full SHA for 41944e5
playwright/flaky-reporter.ts
@@ -106,7 +106,7 @@ class FlakyReporter implements Reporter {
106
const headers = { Authorization: `Bearer ${GITHUB_TOKEN}` };
107
const body = `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}`;
108
109
- const labels = [LABEL, ...results.map((test) => test.parent.project()?.name).filter(Boolean)];
+ const labels = [LABEL, ...results.map((test) => `${LABEL}-${test.parent.project()?.name}`)];
110
111
if (existingIssue) {
112
console.log(`Found issue ${existingIssue.number} for ${flake}, adding comment...`);
0 commit comments