Skip to content

Commit

Permalink
fix: correct the job name pattern
Browse files Browse the repository at this point in the history
The job names in ecosystem-ci.yml are different from the ones in
ecosystem-ci-from-pr.yml
  • Loading branch information
haoqunjiang committed Sep 8, 2023
1 parent 8771f9c commit 510ce39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ jobs:
run_id: latestScheduledRun.id
});
const scheduledResults = scheduledJobs
.filter(job => job.name.startsWith('execute-all '))
.filter(job => job.name.startsWith('test-ecosystem '))
.map(job => {
const suite = job.name.replace(/^execute-all \(([^)]+)\)$/, "$1")
const suite = job.name.replace(/^test-ecosystem \(([^)]+)\)$/, "$1")
return { suite, conclusion: job.conclusion, link: job.html_url }
})
Expand Down

0 comments on commit 510ce39

Please sign in to comment.