mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-22 07:28:06 +00:00
Update e2e job names to avoid confustion and fix updating check status
This commit is contained in:
8
.github/workflows/test-e2e-fork.yml
vendored
8
.github/workflows/test-e2e-fork.yml
vendored
@@ -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,
|
||||
|
Reference in New Issue
Block a user