diff --git a/dist/index.js b/dist/index.js index 98ffa25d..74c45b1f 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index b71251b2..5d8c3cef 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/main.ts b/src/main.ts index 5bd1c012..9fcf6f1e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -67,7 +67,7 @@ export async function run(): Promise { let diffResult: DiffResult if (!env.GITHUB_EVENT_PULL_REQUEST_BASE_REF) { - core.info('Running on a push event...') + core.info(`Running on a ${env.GITHUB_EVENT_NAME || 'push'} event...`) diffResult = await getSHAForPushEvent( inputs, env, @@ -78,7 +78,9 @@ export async function run(): Promise { isTag ) } else { - core.info('Running on a pull request event...') + core.info( + `Running on a ${env.GITHUB_EVENT_NAME || 'pull_request'} event...` + ) diffResult = await getSHAForPullRequestEvent( inputs, env,