Skip to content

Commit 7735fb2

Browse files
nicohrubecmydea
authored andcommitted
chore(ci): Skip flaky issue creation for optional tests (#20288)
Optional tests are usually optional for a reason. We shouldn't create a flaky test issue if an optional test fails on develop to reduce noise. Closes #20269 Closes #20242 Closes #20213
1 parent c724601 commit 7735fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ jobs:
11731173
per_page: 100
11741174
});
11751175
1176-
const failedJobs = jobs.filter(job => job.conclusion === 'failure');
1176+
const failedJobs = jobs.filter(job => job.conclusion === 'failure' && !job.name.includes('(optional)'));
11771177
11781178
if (failedJobs.length === 0) {
11791179
console.log('No failed jobs found');

0 commit comments

Comments
 (0)