A smol webhook handler which takes a github push event and write review to the pull in comment.
- Get your enviorment keys from your fav openai compatible provider.(i.e openai, gemini, openrouter).
- Get Github Token with proper permission.
- set envs in .env file and lambda function.
- run
pnpm i && pnpm run buildto install dependencies and build the project. - run
pnpm run zipto zip the project. - deploy the zip file to aws lambda.
- add webhook to your github repo in settings tab with push event.
- Add more github event (i.e pull request, push, etc).