3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-18 03:57:42 +00:00

chore: update warning message (#1845)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack 2024-01-12 10:28:21 -07:00 committed by GitHub
parent 0deb29d192
commit 13fa1c06fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 1 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View file

@ -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
}