Skip to content

feat: GitHub App integration for agent commits#34

Open
jordanpartridge wants to merge 2 commits into
masterfrom
feature/github-app-integration
Open

feat: GitHub App integration for agent commits#34
jordanpartridge wants to merge 2 commits into
masterfrom
feature/github-app-integration

Conversation

@jordanpartridge
Copy link
Copy Markdown
Collaborator

Summary

  • Enables agents to commit to GitHub repositories as a GitHub App
  • Uses device flow authentication for user authorization
  • JWT-based API access for app-level operations

Changes

  • Add GitHubAppController with device flow, webhook, and commit endpoints
  • Add GitHubAppService for JWT generation and GitHub API interactions
  • Add firebase/php-jwt dependency for GitHub App authentication
  • Add github config to services.php

Configuration Required

Add to .env:

GITHUB_APP_ID=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_PRIVATE_KEY=
GITHUB_PRIVATE_KEY_PATH=

Test Plan

  • Verify device flow authentication works
  • Test webhook endpoint receives events
  • Test commit creation through the app

Enables agents to commit to GitHub repositories as a GitHub App.
Uses device flow authentication and JWT-based API access.

- Add GitHubAppController with device flow, webhook, and commit endpoints
- Add GitHubAppService for JWT generation and GitHub API interactions
- Add firebase/php-jwt for GitHub App authentication
- Add github config to services.php
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