mirror of
https://github.com/actions/checkout.git
synced 2025-04-19 09:06:45 +00:00
Remove unneeded commit information from build logs (#345)
* Remove unneeded commit information from stdout
This commit is contained in:
parent
21dc310f19
commit
a81bbbf829
3 changed files with 21 additions and 9 deletions
|
@ -201,9 +201,12 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
|
|||
}
|
||||
}
|
||||
|
||||
// Dump some info about the checked out commit
|
||||
// Get commit information
|
||||
const commitInfo = await git.log1()
|
||||
|
||||
// Log commit sha
|
||||
await git.log1("--format='%H'")
|
||||
|
||||
// Check for incorrect pull request merge commit
|
||||
await refHelper.checkCommitInfo(
|
||||
settings.authToken,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue