From 3c924f4f80d1626ca8ee3a2e275c04b04a772bea Mon Sep 17 00:00:00 2001 From: Adrian Smijulj Date: Thu, 11 Jun 2020 09:07:08 +0200 Subject: [PATCH] feat: create action --- main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.ts b/main.ts index bcb3eb7..985fd4e 100644 --- a/main.ts +++ b/main.ts @@ -8,6 +8,8 @@ async function run() { `ℹ️ Checking if commit messages are following the Conventional Commits specification...` ); + console.log('context', JSON.stringify(context, null, 2)); + const hasCommits = context.payload && Array.isArray(context.payload.commits); if (!hasCommits) { core.info(`No commits to check, skipping...`);