From dd5df2561cbbf75dc9a7b30721873bd77884fa0e Mon Sep 17 00:00:00 2001 From: Matt Matheson Date: Mon, 1 Jun 2026 23:27:31 +0000 Subject: [PATCH 1/2] test forked prs --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f6a861e4..caea3959 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -215,7 +215,7 @@ jobs: target/${{ matrix.platform.target }}/release/trunk-analytics-cli upload \ --junit-paths ${{ github.workspace }}/target/**/*junit.xml \ --org-url-slug trunk \ - --token ${{ secrets.TRUNK_PROD_ORG_API_TOKEN }} + --public-repo-id 8p0dr61u trunk_check_runner: name: Trunk Check runner [linux] From c261b76c002155ce53895dc1bb3f4af4f89b7a94 Mon Sep 17 00:00:00 2001 From: Matt Matheson Date: Tue, 2 Jun 2026 00:01:53 +0000 Subject: [PATCH 2/2] Use public repo ids for flaky-test uploads instead of org tokens Fork PRs can't read repo secrets, so the org-token uploads failed with an empty --token. Switch the staging and prod uploads to the non-secret --public-repo-id (QTd753JE / 8p0dr61u). Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index caea3959..b6d898d2 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -203,7 +203,7 @@ jobs: target/${{ matrix.platform.target }}/release/trunk-analytics-cli upload \ --junit-paths ${{ github.workspace }}/target/**/*junit.xml \ --org-url-slug trunk-staging-org \ - --token ${{ secrets.TRUNK_STAGING_ORG_API_TOKEN }} \ + --public-repo-id QTd753JE \ --test-process-exit-code ${{ steps.extract.outputs.test-step-outcome }} - name: Upload results to prod using built CLI