1
0
Fork 0
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:
Nicolas Schweitzer 2024-12-19 15:30:48 +01:00
parent cbb722410c
commit f3b199b7ed
No known key found for this signature in database
6 changed files with 26 additions and 4 deletions

View file

@ -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