fix(ci): run credential probe in agent mode

This commit is contained in:
bincxz committed 2026-07-27 14:35:49 +08:00
1 parent c33ae22965
commit ae4400cdb8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1788,7 +1788,7 @@ test('workflow keeps sandbox probes credential-free and runs an authenticated ag
assert.doesNotMatch(authenticatedSmokeStep, /CURSOR_API_KEY|CURSOR_AUTH_TOKEN/);
assert.match(
authenticatedSmokeStep,
/"\$RUNNER_TEMP\/cursor-agent-authenticated" \\\n\s+-p --mode=ask --trust/,
/"\$RUNNER_TEMP\/cursor-agent-authenticated" \\\n\s+-p --trust/,
);
assert.doesNotMatch(smokeJob, /--api-key/);
assert.match(smokeJob, /allow: \["Shell\(node\)"\]/);