mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-22 15:38:06 +00:00
Update e2e job names to avoid confustion and fix updating check status
This commit is contained in:
2
.github/workflows/e2e-tests.yml
vendored
2
.github/workflows/e2e-tests.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: E2E Tests
|
||||
name: E2E Tests [reusable]
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
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,
|
||||
|
2
.github/workflows/test-e2e.yml
vendored
2
.github/workflows/test-e2e.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: E2E Tests
|
||||
name: E2E Tests [triggered by maintainer]
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
Reference in New Issue
Block a user