This repository has been archived on 2026-01-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
sdi/ChatGPT-CodeReview/serverless.yml
2025-04-17 12:00:31 +09:00

33 lines
571 B
YAML

service: cr-bot
frameworkVersion: '3'
useDotenv: true
provider:
name: aws
runtime: nodejs18.x
environment:
APP_ID: ${env:APP_ID}
WEBHOOK_SECRET: ${env:WEBHOOK_SECRET}
PRIVATE_KEY_PATH: ${env:PRIVATE_KEY_PATH}
package:
patterns:
- lambda/**
- '!node_modules/**'
- '!actions/**'
- '!.git/**'
functions:
webhooks:
handler: lambda.webhooks
events:
- httpApi:
path: /api/github/webhooks
method: post
memorySize:
- 256
timeout: 30
logRetentionInDays: 14