From 9b7c1e9cb049e1af7011f6360bd42e8da82f01af Mon Sep 17 00:00:00 2001 From: Stuart Leeks Date: Thu, 8 Jul 2021 20:02:57 +0100 Subject: [PATCH] Fix typo in env var name --- github-action/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github-action/src/main.ts b/github-action/src/main.ts index 784618e5..5dc33c5b 100644 --- a/github-action/src/main.ts +++ b/github-action/src/main.ts @@ -76,7 +76,7 @@ async function runPost(): Promise { ) return } - const eventName = process.env.GETHUB_EVENT_NAME + const eventName = process.env.GITHUB_EVENT_NAME if ( eventFilterForPush.length !== 0 && // empty filter allows all !eventFilterForPush.some(s => s === eventName)