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:
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:
|
on:
|
||||||
workflow_call:
|
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
|
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({
|
const { data: result } = await github.rest.checks.update({
|
||||||
...context.repo,
|
...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:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
Reference in New Issue
Block a user