Update flaky-reporter.ts
This commit is contained in:
committed by
GitHub
parent
540580504d
commit
41944e5c6e
@@ -106,7 +106,7 @@ class FlakyReporter implements Reporter {
|
||||
const headers = { Authorization: `Bearer ${GITHUB_TOKEN}` };
|
||||
const body = `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}`;
|
||||
|
||||
const labels = [LABEL, ...results.map((test) => test.parent.project()?.name).filter(Boolean)];
|
||||
const labels = [LABEL, ...results.map((test) => `${LABEL}-${test.parent.project()?.name}`)];
|
||||
|
||||
if (existingIssue) {
|
||||
console.log(`Found issue ${existingIssue.number} for ${flake}, adding comment...`);
|
||||
|
||||
Reference in New Issue
Block a user