mirror of
https://github.com/actions/checkout.git
synced 2025-05-25 10:36:12 +02:00
codereview: define a git-user slug instead of a true/false config
This commit is contained in:
parent
f3b199b7ed
commit
5fba9eb899
7 changed files with 32 additions and 14 deletions
|
@ -138,9 +138,8 @@ export async function getInputs(): Promise<IGitSourceSettings> {
|
|||
// Auth token
|
||||
result.authToken = core.getInput('token', {required: true})
|
||||
|
||||
// Configure user
|
||||
result.configureUser =
|
||||
(core.getInput('configure-user') || 'true').toUpperCase() === 'TRUE'
|
||||
// Git user
|
||||
result.gitUser = core.getInput('git-user') || 'github-action[bot]'
|
||||
|
||||
// SSH
|
||||
result.sshKey = core.getInput('ssh-key')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue