File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,16 +61,14 @@ jobs:
6161 script : |
6262 const fs = require('fs');
6363 const report = fs.readFileSync('tier_report.txt', 'utf8');
64- const title = 'Nightly Server Tier Assessment Failure';
65- const periodicLabel = 'periodic-failure';
64+ const title = '[Dashboard: Conformance] Nightly Server Tier Assessment Failure';
6665
6766 const prevIssues = await github.rest.issues.listForRepo({
6867 ...context.repo,
69- state: 'open',
70- creator: 'github-actions[bot]',
71- labels: [periodicLabel]
68+ state: 'open'
7269 });
7370
71+ // Find any open issue matching the exact dashboard title
7472 let existingIssue = prevIssues.data.find(issue => issue.title === title);
7573
7674 if (report.includes('Tier Assessment: Tier 1')) {
@@ -104,7 +102,6 @@ jobs:
104102 await github.rest.issues.create({
105103 ...context.repo,
106104 title: title,
107- body: body,
108- labels: [periodicLabel]
105+ body: body
109106 });
110107 }
You can’t perform that action at this time.
0 commit comments