Skip to content

[TRUNK-17582] Add Multiple Repositories and Forks guide for Flaky Tests#445

Open
samgutentag wants to merge 1 commit intomainfrom
sam/flaky-tests-multiple-repos
Open

[TRUNK-17582] Add Multiple Repositories and Forks guide for Flaky Tests#445
samgutentag wants to merge 1 commit intomainfrom
sam/flaky-tests-multiple-repos

Conversation

@samgutentag
Copy link
Member

@samgutentag samgutentag commented Feb 18, 2026

Summary

  • New page at flaky-tests/get-started/multiple-repositories.md explaining how Trunk identifies repositories by git remote URL, not API token
  • Documents safe use of the same org API token across forks and multiple repos
  • Covers repo identification, fork workflows, --repo-url overrides, uploading without git checkout, and common scenarios (private forks, multiple forks, monorepo variants)
  • Updated summary.md to add the page under Getting Started after CI Providers

Linear

Context

Customer question in Slack about whether using the same API key for a private fork would mix test results. Answer: repos are identified by git remote URL (host/owner/name), so forks with different remotes are automatically separate.

Test plan

  • Verify page renders correctly in GitBook preview (Change Request)
  • Confirm summary.md entry appears in correct location in sidebar
  • Verify hint blocks and code blocks render properly
  • Check cross-reference link to CLI reference resolves correctly
  • Verify --repo-url and --use-uncloned-repo flag documentation matches current CLI behavior

🤖 Generated with Claude Code

Document how Trunk identifies repos by git remote URL (not API token),
enabling safe use of the same org token across forks. Covers repo
identification, fork workflows, --repo-url overrides, and common
scenarios like private forks, multiple forks, and monorepo variants.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@samgutentag samgutentag changed the title Add Multiple Repositories and Forks guide for Flaky Tests [TRUNK-17582] Add Multiple Repositories and Forks guide for Flaky Tests Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant