From fa9ae49366c4c26447c599e8c7fc045f59a26b8b Mon Sep 17 00:00:00 2001 From: Adam Rensel Date: Mon, 3 May 2021 15:51:29 -0400 Subject: [PATCH] Use the correct event name --- .github/workflows/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/src/index.js b/.github/workflows/src/index.js index 2051ec3e..29f5621a 100644 --- a/.github/workflows/src/index.js +++ b/.github/workflows/src/index.js @@ -32,7 +32,7 @@ const GRADUATION_TABLE = "appnpTfSaHWAf964L" const airtable = Airtable.base(GRADUATION_TABLE); const [ owner, repoName ] = process.env.GITHUB_REPOSITORY.split('/') -if (process.env.GITHUB_EVENT_NAME === "pull_request") { +if (process.env.GITHUB_EVENT_NAME === "pull_request_target") { const pr = process.env.GITHUB_REF.split("/")[2] } -- knotmirror 0.0.1