We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e766165 commit 3a4632aCopy full SHA for 3a4632a
core/index.ts
@@ -3,18 +3,18 @@ import { info } from './utils'
3
export * from './types'
4
5
const RFC_CAT_ID = 'DIC_kwDOHz3x484CQ_Jh'
6
-const ALLOWED_REPO = ['vite/rfcs']
+const ALLOWED_REPO = ['vitejs/rfcs']
7
8
export async function runAction(context: Context) {
9
const { octokit, event } = context
10
11
- if (!('pull_request' in event && event.action === 'opened'))
+ info({ event })
12
+
13
+ if (!('pull_request' in event && (event.action === 'opened' || event.action === 'reopened')))
14
return
15
if (!ALLOWED_REPO.includes(event.repository.full_name))
16
17
- info({ event })
-
18
const { pull_request } = event
19
20
const files_url = `${pull_request.url}/files`
0 commit comments