-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathserverless.yml
More file actions
34 lines (31 loc) · 695 Bytes
/
serverless.yml
File metadata and controls
34 lines (31 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
org: noqcks
app: pr-size
service: pr-size
frameworkVersion: '3'
useDotenv: true
provider:
name: aws
runtime: nodejs18.x
environment:
APP_ID: ${env:APP_ID}
PRIVATE_KEY: ${env:PRIVATE_KEY}
WEBHOOK_SECRET: ${env:WEBHOOK_SECRET}
NODE_ENV: production
LOG_LEVEL: info
SENTRY_DSN: https://390c9d912ff048649882442625c3aa7d@o4504364806176768.ingest.sentry.io/4504364812795904
functions:
webhooks:
name: pr-size
handler: src/handler.webhooks
timeout: 25
memorySize: 256
events:
- httpApi:
path: /api/github/webhooks
method: post
package:
patterns:
- '!tests/**'
- '!coverage/**'
- '!.github/**'
- '!*.pem'