Skip to content

Commit 948ae25

Browse files
committed
do not create issues for optional tests if they flake
1 parent 6049804 commit 948ae25

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
@@ -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)