chore: update warning message (#1500)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack
2023-08-26 14:08:40 -06:00
committed by GitHub
parent d01e38ae60
commit 2f8b80270f
3 changed files with 5 additions and 5 deletions

View File

@@ -65,11 +65,11 @@ export const getRenamedFiles = async ({
diff
}))
) {
let message = `Set 'fetch_additional_submodule_history: true' to fetch additional submodule history for: ${submodulePath}`
let message = `Unable to use three dot diff for: ${submodulePath} submodule. Falling back to two dot diff. You can set 'fetch_additional_submodule_history: true' to fetch additional submodule history in order to use three dot diff`
if (inputs.fetchSubmoduleHistory) {
message = `To fetch additional submodule history for: ${submodulePath} you can increase history depth using 'fetch_depth' input`
}
core.warning(message)
core.info(message)
diff = '..'
}