How shashanktu/github_webhook_endpoint works
This is a small FastAPI service with two independently defined GitHub webhook entrypoints. Each accepts a POST payload, extracts repository and branch information, logs it, and returns a processed status. The root entrypoint additionally adapts the app for Mangum. Repository-content fetching is commented out, and no downstream processing or GitHub API call is active in the shown code.
Main entry points: main.py Root webhook endpoint · index.py API webhook endpoint
Components 4
Webhook service
- Root webhook endpoint
main.py - API webhook endpoint
api/index.py - Mangum adapter
main.py
Other components
- GitHub webhook sender
Connections 3
- GitHub webhook sender → Root webhook endpoint: POSTs payload
main.py - GitHub webhook sender → API webhook endpoint: POSTs payload
api/index.py - Root webhook endpoint → Mangum adapter: adapts app
main.py