Skip to content

The open-source app everyone uses to manage agents at work

ci: synchronize trusted PR policy (#12438)

Dottad9fc93d8383e
diff --git a/.github/workflows/pr-trusted.yml b/.github/workflows/pr-trusted.yml
index 247b668acf..960c415ba6 100644
--- a/.github/workflows/pr-trusted.yml
+++ b/.github/workflows/pr-trusted.yml
@@ -167,6 +167,12 @@ jobs:
with:
node-version: 24
+ - name: Validate migration ordering against target branch
+ run: >-
+ node .github/scripts/check-pr-migration-order.mjs
+ "${{ github.event.pull_request.base.sha }}"
+ "${{ github.event.pull_request.head.sha }}"
+
- name: Validate Dockerfile deps stage
run: node ./scripts/check-docker-deps-stage.mjs
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index f80958c7f1..0950a8615a 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -489,6 +489,8 @@ jobs:
specs="$(node ./scripts/e2e-shard.mjs \
--shard-index ${{ matrix.shard_index }} --shard-count ${{ matrix.shard_count }})"
echo "shard ${{ matrix.shard_label }} specs: $specs"
+ # specs is an intentional argument list.
+ # shellcheck disable=SC2086
pnpm run test:e2e $specs
- name: Upload Playwright report