Open
Description
ATM it hardcodes in https://github.com/elstudio/actions-js-build/blob/master/commit/entrypoint.sh#L32
git_setup ( ) {
# Git requires our "name" and email address -- use GitHub handle
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
git config user.name "$GITHUB_ACTOR"
}
which then results in commits such as
commit d67e6a4299f4ef98bb8bc29903ae5b3100e219d6 (HEAD -> enh-codespell, gh-yarikoptic/enh-codespell)
Author: yarikoptic <yarikoptic@users.noreply.github.com>
Commit: yarikoptic <yarikoptic@users.noreply.github.com>
and ruining stats of git shortlog -sn
which acquire double entries for people.
In many uses, better default behavior would have been to take Author of the prior commit and using that identity.
But may be some projects would have just added an option to signify that such automated commits were made by "CI" or by a "bot" and thus would have just provided in the option an identity for such a creature (e.g. some CI Action <donotemail@example.com>
).
Metadata
Metadata
Assignees
Labels
No labels