chore: update debug message (#1311)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
e6e128a1c4
commit
8c58d60f5b
6
dist/index.js
generated
vendored
6
dist/index.js
generated
vendored
@ -978,7 +978,7 @@ const getSHAForPullRequestEvent = (inputs, env, workingDirectory, isShallow, has
|
||||
sha2: currentSha,
|
||||
diff
|
||||
}))) {
|
||||
core.debug('Merge base is not in the local history, fetching remote target branch...');
|
||||
core.info('Merge base is not in the local history, fetching remote target branch...');
|
||||
for (let i = 1; i <= 10; i++) {
|
||||
yield (0, utils_1.gitFetch)({
|
||||
cwd: workingDirectory,
|
||||
@ -999,8 +999,8 @@ const getSHAForPullRequestEvent = (inputs, env, workingDirectory, isShallow, has
|
||||
})) {
|
||||
break;
|
||||
}
|
||||
core.debug('Merge base is not in the local history, fetching remote target branch again...');
|
||||
core.debug(`Attempt ${i}/10`);
|
||||
core.info('Merge base is not in the local history, fetching remote target branch again...');
|
||||
core.info(`Attempt ${i}/10`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -411,7 +411,7 @@ export const getSHAForPullRequestEvent = async (
|
||||
diff
|
||||
}))
|
||||
) {
|
||||
core.debug(
|
||||
core.info(
|
||||
'Merge base is not in the local history, fetching remote target branch...'
|
||||
)
|
||||
|
||||
@ -439,10 +439,10 @@ export const getSHAForPullRequestEvent = async (
|
||||
break
|
||||
}
|
||||
|
||||
core.debug(
|
||||
core.info(
|
||||
'Merge base is not in the local history, fetching remote target branch again...'
|
||||
)
|
||||
core.debug(`Attempt ${i}/10`)
|
||||
core.info(`Attempt ${i}/10`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user