Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

ci: allow trusted-base PR merge refs on private runner

Steven Enamakelb0987651ea47
diff --git a/.config/nextest.toml b/.config/nextest.toml
index cf22efc2d1..567ae1b2e7 100644
--- a/.config/nextest.toml
+++ b/.config/nextest.toml
@@ -24,13 +24,13 @@ json-rpc-e2e = { max-threads = 1 }
mcp-registry = { max-threads = 1 }
[[profile.ci.overrides]]
-filter = 'binary(=agent_harness_e2e)'
+filter = 'binary(/^agent_harness_e2e$/)'
test-group = 'agent-harness-e2e'
# RPC bootstrap writes a fixed temporary token path across processes. Retain
# the original serial contract of both resource-sensitive integration suites.
[[profile.ci.overrides]]
-filter = 'binary(=json_rpc_e2e)'
+filter = 'binary(/^json_rpc_e2e$/)'
test-group = 'json-rpc-e2e'
[[profile.ci.overrides]]
diff --git a/.github/workflows/ci-lanes.yml b/.github/workflows/ci-lanes.yml
index 57b3c3605c..4e2de56810 100644
--- a/.github/workflows/ci-lanes.yml
+++ b/.github/workflows/ci-lanes.yml
@@ -50,12 +50,14 @@ jobs:
timeout-minutes: 120
steps:
- name: Checkout PR merge commit
- uses: tinyhumansai/.github/actions/checkout@9d94105e7e81801ac3dc5f8d6535282165669cd9
+ uses: tinyhumansai/.github/actions/checkout@c705a5471b73941c0ff0b56a6fc6adf4958c84ab
with:
ref: refs/pull/${{ inputs.pr-number }}/merge
fetch-depth: 0
submodules: recursive
exclude-submodules: wiki
+ # Trusted-base membership routing authorizes team fork merge refs.
+ allow-unsafe-pr-checkout: true
persist-credentials: false
- name: Verify private runner contract
diff --git a/scripts/__tests__/private-runner-contract.test.mjs b/scripts/__tests__/private-runner-contract.test.mjs
index 4ec9ab3dfa..9b748872ae 100644
--- a/scripts/__tests__/private-runner-contract.test.mjs
+++ b/scripts/__tests__/private-runner-contract.test.mjs
@@ -48,6 +48,7 @@ test("private workflow pins checkout, image and signed Tinymold without artifact
assert.match(privateJob, /submodules: recursive/);
assert.match(privateJob, /exclude-submodules: wiki/);
assert.match(privateJob, /fetch-depth: 0/);
+ assert.match(privateJob, /allow-unsafe-pr-checkout: true/);
assert.match(privateJob, /tinyhumansai\/tinymold@[a-f0-9]{40}/);
assert.match(privateJob, /install: none/);
assert.match(privateJob, /backend: remote/);