-
Notifications
You must be signed in to change notification settings - Fork 84
[integration][Github] Implement basic Github support #1551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
Port's internal github implementation
blueprints so we don't conflict with existing Github blueprints
"github-v2" to further reduce conflict with port's github implementation
types to match existing precedents
User description
Description
What - A basic Github integration, focusing only on Repositories, Pull Requests, Issues, and Teams.
Why - I have to do it as an assessement.
How - Users can configure the organizations they want to ingest data from, as well as a few other selectors, depending on resource kind, to help with filtering.
Type of change
Please leave one option from the following and delete the rest:
All tests should be run against the port production environment(using a testing org).
Core testing checklist
Integration testing checklist
examples
folder in the integration directory.Preflight checklist
Screenshots
Include screenshots from your environment showing how the resources of the integration will look.



API Documentation
Provide links to the API documentation used for this integration.
PR Type
Enhancement, Documentation, Tests
Description
Implemented a new GitHub integration for Port Ocean.
Added configuration and resource mapping for GitHub entities.
.port/resources/blueprints.json
.Provided documentation and examples for the integration.
.env.example
for environment variable setup.Configured testing and development tools.
pyproject.toml
with dependencies and configurations.Changes walkthrough 📝
10 files
Add debug entry point for GitHub integration
Initialize GitHub client module
Implement GitHub API client with resource fetching
Define integration configuration and resource selectors
Add resync handlers for GitHub resources
Define GitHub resource types for Port
Initialize webhook handlers for GitHub events
Add webhook handler for GitHub issues
Add webhook handler for GitHub pull requests
Define blueprints for GitHub resources
7 files
Add VSCode launch configuration for GitHub integration
Add Port app configuration for GitHub integration
Define integration specifications for GitHub
Add Makefile for GitHub integration
Configure Poetry for dependency management
Add project configuration and dependencies
Add SonarQube project configuration
4 files
Provide example environment variables for GitHub integration
Add changelog for GitHub integration
Add contributing guidelines for GitHub integration
Add README for GitHub integration
1 files