mirror of
https://github.com/actions/checkout.git
synced 2025-05-23 00:00:02 +00:00
feat(git config): Set default user.name and user.email in git config
This commit is contained in:
parent
cbb722410c
commit
f3b199b7ed
6 changed files with 26 additions and 4 deletions
|
@ -22,6 +22,12 @@ inputs:
|
|||
|
||||
[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
|
||||
default: ${{ github.token }}
|
||||
configure-user:
|
||||
description: >
|
||||
Whether to configure user.name and user.email in the local git config.
|
||||
This is required to push a commit from a Github Action Workflow.
|
||||
Set to `false` to disable the config.
|
||||
default: true
|
||||
ssh-key:
|
||||
description: >
|
||||
SSH key used to fetch the repository. The SSH key is configured with the local
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue