Skip to content

Comments

feat: Switch to using Github app based access tokens instead of personal access token#10

Open
dklawren wants to merge 4 commits intomainfrom
access-token
Open

feat: Switch to using Github app based access tokens instead of personal access token#10
dklawren wants to merge 4 commits intomainfrom
access-token

Conversation

@dklawren
Copy link
Contributor

@dklawren dklawren commented Feb 23, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request switches the authentication mechanism from GitHub personal access tokens to GitHub App installation access tokens. The change introduces a JWT-based authentication flow where a GitHub App JWT is exchanged for short-lived installation access tokens (valid for 1 hour) on a per-repository basis.

Changes:

  • Adds a new get_installation_access_token() function that fetches and caches GitHub App installation tokens
  • Implements token caching with automatic refresh when tokens have less than 60 seconds remaining
  • Updates the main ETL loop to fetch installation-specific tokens for each repository

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dklawren dklawren requested review from cgsheeh February 24, 2026 02:14
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.

1 participant