Skip to content

Commit 3a4632a

Browse files
committed
chore: update
1 parent e766165 commit 3a4632a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ import { info } from './utils'
33
export * from './types'
44

55
const RFC_CAT_ID = 'DIC_kwDOHz3x484CQ_Jh'
6-
const ALLOWED_REPO = ['vite/rfcs']
6+
const ALLOWED_REPO = ['vitejs/rfcs']
77

88
export async function runAction(context: Context) {
99
const { octokit, event } = context
1010

11-
if (!('pull_request' in event && event.action === 'opened'))
11+
info({ event })
12+
13+
if (!('pull_request' in event && (event.action === 'opened' || event.action === 'reopened')))
1214
return
1315
if (!ALLOWED_REPO.includes(event.repository.full_name))
1416
return
1517

16-
info({ event })
17-
1818
const { pull_request } = event
1919

2020
const files_url = `${pull_request.url}/files`

0 commit comments

Comments
 (0)