codereview: define a git-user slug instead of a true/false config

This commit is contained in:
Nicolas Schweitzer 2025-01-21 18:50:25 +01:00
parent f3b199b7ed
commit 5fba9eb899
No known key found for this signature in database
7 changed files with 32 additions and 14 deletions

View file

@ -22,12 +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:
git-user:
description: >
Whether to configure user.name and user.email in the local git config.
Github slug used to configure local user.name and user.email for git.
This is required to push a commit from a Github Action Workflow.
Set to `false` to disable the config.
default: true
Set to '' to disable this configuration.
default: "github-action[bot]"
ssh-key:
description: >
SSH key used to fetch the repository. The SSH key is configured with the local