Skip to content

Enable customization of git config #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 30, 2021

Conversation

jcrqr
Copy link
Contributor

@jcrqr jcrqr commented Aug 30, 2021

Fixes #10

This PR introduces two new inputs that are used on the git config command, in order to enable git config to be customizable.

  • git_name - Defaults to github-actions[bot]
  • git_email - Defaults to github-actions[bot]@users.noreply.github.com

The default values for the GitHub Actions app.

Also, added two statements to output the configured name and email. Bear in mind those will show masked (***) in the workflow logs if the values come from secrets.

@woile woile merged commit 5b027af into commitizen-tools:master Aug 30, 2021
@woile
Copy link
Member

woile commented Aug 30, 2021

Thanks a lot!

@jcrqr jcrqr deleted the feat/custom-git-config branch August 30, 2021 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to provide Git config or disable it
2 participants