diff --git a/dist/index.js b/dist/index.js index 384d5203..41717322 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 090c692e..342bd094 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 85dc7e55..ad0582a6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -279,8 +279,9 @@ export async function run(): Promise { }) } else { if (!hasGitDirectory) { + core.info(`Running on a ${github.context.eventName} event...`) core.setFailed( - "Can't find local .git directory. Please run actions/checkout before this action" + "Can't find local .git directory. Please run actions/checkout before this action. If you intend to use Github's REST API note that only pull_request* events are supported." ) return }