mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-24 12:25:34 +00: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
3
dist/index.js
vendored
3
dist/index.js
vendored
|
@ -1814,8 +1814,7 @@ function getInputs() {
|
|||
// Auth token
|
||||
result.authToken = core.getInput('token', { required: true });
|
||||
// Configure user
|
||||
result.configureUser =
|
||||
(core.getInput('configure-user') || 'true').toUpperCase() === 'TRUE'
|
||||
result.gitUser = (core.getInput('git-user') || 'github-action[bot]')
|
||||
// SSH
|
||||
result.sshKey = core.getInput('ssh-key');
|
||||
result.sshKnownHosts = core.getInput('ssh-known-hosts');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue