Skip to content

Commit b591154

Browse files
kuhnroyaltm1000
andauthored
Support pull_request_target event (#50)
Co-authored-by: Andrew Nagy <[email protected]>
1 parent 4b94fff commit b591154

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ async function run(): Promise<void> {
3030
core.debug(`filename: ${filename}`)
3131

3232
switch (process.env.GITHUB_EVENT_NAME) {
33-
case 'pull_request': {
33+
case 'pull_request':
34+
case 'pull_request_target': {
3435
const {GITHUB_BASE_REF = ''} = process.env
3536
core.debug(`GITHUB_BASE_REF: ${GITHUB_BASE_REF}`)
3637
const artifactPath = await downloadArtifacts(GITHUB_BASE_REF)

0 commit comments

Comments
 (0)