Skip to content

Commit

Permalink
chore: update warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Jan 12, 2024
1 parent 0deb29d commit 29fd820
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,9 @@ export async function run(): Promise<void> {
})
} 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
}
Expand Down

0 comments on commit 29fd820

Please sign in to comment.