Skip to content

Commit 4efaf06

Browse files
committed
fix(e2e): align authorized workflow contracts
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
1 parent cbb6940 commit 4efaf06

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4622,7 +4622,7 @@ jobs:
46224622

46234623
- name: Run all-agent GPU, local inference, rollback, and cleanup qualification
46244624
env:
4625-
NVIDIA_API_KEY: ${{ secrets.NVIDIA_API_KEY }}
4625+
NVIDIA_API_KEY: ${{ github.repository == 'NVIDIA/NemoClaw' && github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (inputs.checkout_sha == '' || needs.generate-matrix.outputs.e2e_credentials_allowed == 'true') && secrets.NVIDIA_API_KEY || '' }}
46264626
shell: bash
46274627
run: |
46284628
set -euo pipefail

test/e2e/support/e2e-report-to-pr-workflow-boundary.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function executeGenerateMatrixWithPlannerOutput(
9797
fakeNpx,
9898
[
9999
"#!/usr/bin/env bash",
100-
"expected=(tsx tools/e2e/workflow-plan.mts --ci-output)",
100+
"expected=(--no-install tsx tools/e2e/workflow-plan.mts --ci-output)",
101101
'actual=("$@")',
102102
'[[ "${#actual[@]}" -eq "${#expected[@]}" ]] || exit 97',
103103
'for index in "${!expected[@]}"; do [[ "${actual[$index]}" == "${expected[$index]}" ]] || exit 97; done',

test/e2e/support/native-runtime-qualification-producer-workflow.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function expectRequiredPodmanPackages(run: string): void {
4343
describe("native runtime qualification producer workflow", () => {
4444
it("keeps candidate execution out of the authenticated controller", () => {
4545
const generate = job("generate-matrix");
46-
const checkout = generate.steps?.find((entry) => entry.uses?.startsWith("actions/checkout@"));
46+
const checkout = step(generate, "Check out E2E candidate");
4747

4848
expect(checkout?.if).toContain("inputs.jobs != 'native-runtime-qualification-producer'");
4949
expect(step(generate, "Validate manual PR checkout").if).toContain(

tools/e2e/mcp-dev-workflow-boundary-digests.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const MCP_DEV_JOB_EXECUTION_CONTEXT_SHA256 =
1010
export const MCP_DEV_TRUSTED_NODE_SETUP_CONTENT_SHA256 =
1111
"504821ad93c57971d0281ef1130ed6008fadd331bd56acb1a6b5e6a3358f3e49";
1212
export const MCP_DEV_TRUSTED_PREFIX_CONTENT_SHA256 =
13-
"067df18297c3b5e5175dc11de071a0f3c261aa894db6141b8b789d67f5e9c0d1";
13+
"c559e6cd5bf076bed8d359bbca397d4e31fbf3c11123389425917b865544940d";
1414
export const MCP_DEV_POST_INSTALL_TRANSITION_CONTENT_SHA256 =
1515
"62cf2ee01ac7192f41fc7b2b071de729da8bacec1e4f693da1ec6f0b1f4723c0";
1616

0 commit comments

Comments
 (0)