diff --git a/dist/index.js b/dist/index.js index 593763b..dc22a60 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4720,7 +4720,7 @@ async function getChangedFilesFromGit(base, initialFetchDepth) { return await git.listAllFilesAsAdded(); } } - core.info(`Changes will be detected against the last previously pushed commit on same branch (${pushRef})`); + core.info(`Changes will be detected against commit (${baseSha})`); return await git.getChanges(baseSha); } // Changes introduced by current branch against the base branch diff --git a/src/main.ts b/src/main.ts index 9a65b9a..92cad59 100644 --- a/src/main.ts +++ b/src/main.ts @@ -109,7 +109,7 @@ async function getChangedFilesFromGit(base: string, initialFetchDepth: number): } } - core.info(`Changes will be detected against the last previously pushed commit on same branch (${pushRef})`) + core.info(`Changes will be detected against commit (${baseSha})`) return await git.getChanges(baseSha) }