Skip to content

Commit 5b3eb7e

Browse files
authored
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 2ba05f6 commit 5b3eb7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ jobs:
11471147
per_page: 100
11481148
});
11491149
1150-
const failedJobs = jobs.filter(job => job.conclusion === 'failure');
1150+
const failedJobs = jobs.filter(job => job.conclusion === 'failure' && !job.name.includes('(optional)'));
11511151
11521152
if (failedJobs.length === 0) {
11531153
console.log('No failed jobs found');

0 commit comments

Comments
 (0)