Skip to content

Conversation

@mattkram
Copy link
Collaborator

@mattkram mattkram commented Dec 10, 2025

Summary

Extracted refactor from #193. This PR refactors the token lookup logic with domain-level rules so it is centralized in one location. Additionally, we explicitly distinguish between API keys and repo tokens to make the logic more readable and to make it easier to determine which HTTP header to pass.

@mattkram mattkram force-pushed the refac/tidy-token-lookup-logic branch 10 times, most recently from 5aaf3d2 to aff93ec Compare December 10, 2025 22:43
@mattkram mattkram marked this pull request as ready for review December 11, 2025 02:32
@mattkram mattkram force-pushed the refac/tidy-token-lookup-logic branch 3 times, most recently from c53c0e8 to 9f7f907 Compare December 18, 2025 20:37
@mattkram mattkram marked this pull request as draft December 18, 2025 20:37
@mattkram mattkram marked this pull request as ready for review December 18, 2025 21:05
@mattkram mattkram force-pushed the refac/tidy-token-lookup-logic branch 2 times, most recently from 06c9ba0 to a66d62d Compare December 19, 2025 15:00
@mattkram mattkram force-pushed the refac/tidy-token-lookup-logic branch from a66d62d to 86379df Compare January 21, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants