forked from noqcks/pull-request-size
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserverless.yml
More file actions
35 lines (32 loc) · 716 Bytes
/
Copy pathserverless.yml
File metadata and controls
35 lines (32 loc) · 716 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
35
org: noqcks
app: pr-size
service: pr-size
frameworkVersion: '3'
useDotenv: true
provider:
name: aws
runtime: nodejs16.x
environment:
APP_ID: ${env:APP_ID}
PRIVATE_KEY: ${env:PRIVATE_KEY}
WEBHOOK_SECRET: ${env:WEBHOOK_SECRET}
NODE_ENV: production
LOG_LEVEL: debug
SENTRY_DSN: https://23424225e28549ae9099f405a731d1a7@o392807.ingest.sentry.io/4504062891982848
functions:
webhooks:
name: pr-size
handler: src/handler.webhooks
timeout: 30
memorySize: 256
provisionedConcurrency: 1
events:
- httpApi:
path: /api/github/webhooks
method: post
package:
patterns:
- '!tests/**'
- '!coverage/**'
- '!.github/**'
- '!*.pem'