Update e2e job names to avoid confustion and fix updating check status

This commit is contained in:
Volodymyr Zotov
2025-10-02 08:35:37 -05:00
parent 3f52bb2840
commit 7ef9ec6de7
3 changed files with 9 additions and 3 deletions

View File

@@ -44,7 +44,13 @@ jobs:
ref: process.env.ref
});
const check = checks.check_runs.filter(c => c.name === 'e2e-test');
const check = checks.check_runs.filter(c => c.name === 'E2E Tests');
if (check.length === 0) {
console.log('No check run found with name "E2E Tests"');
console.log('Available check runs:', checks.check_runs.map(c => c.name));
throw new Error('No matching check run found');
}
const { data: result } = await github.rest.checks.update({
...context.repo,