quick-keyboard-83126
05/28/2025, 11:18 AMquick-keyboard-83126
05/28/2025, 11:18 AMquick-keyboard-83126
05/28/2025, 2:45 PMproud-jewelry-46860
05/28/2025, 4:08 PMquick-keyboard-83126
05/28/2025, 4:09 PMquick-keyboard-83126
05/28/2025, 4:10 PMproud-jewelry-46860
05/28/2025, 4:10 PMgit -c user.name=$(git config user.name || echo "check-spelling-bot") -c user.email… commit
or something dumb like thatquick-keyboard-83126
05/28/2025, 4:12 PMquick-keyboard-83126
05/28/2025, 4:12 PM-c
stuff has historically given me a headacheproud-jewelry-46860
05/28/2025, 4:13 PMget config get --default=check-spelling-bot user.name
quick-keyboard-83126
05/28/2025, 4:13 PMquick-keyboard-83126
05/28/2025, 4:14 PMgit config --global ...
or whatever, but i'd rather let them do an env: ...
for my stepproud-jewelry-46860
05/28/2025, 4:14 PMuser.name
isn't the same as `GIT_AUTHOR_NAME`…quick-keyboard-83126
05/28/2025, 4:14 PMwith:
checkout: 1
they can't use git config ...
because the repo doesn't exist yetquick-keyboard-83126
05/28/2025, 4:14 PMproud-jewelry-46860
05/28/2025, 4:23 PMquick-keyboard-83126
05/28/2025, 4:24 PMproud-jewelry-46860
05/28/2025, 4:29 PM$GIT_AUTHOR_NAME
, author.name
, user.name
, $USER
. See https://git-scm.com/docs/git#_git_commits and https://git-scm.com/docs/git-config#Documentation/git-config.txt-usernamequick-keyboard-83126
05/28/2025, 4:32 PMproud-jewelry-46860
05/28/2025, 4:32 PMuser.name
and user.email
is set, so everything gets skipped), just not sure it does what you intended 🙂quick-keyboard-83126
05/28/2025, 4:32 PMquick-keyboard-83126
05/28/2025, 4:33 PM-c
thing you're suggesting would be correctquick-keyboard-83126
05/28/2025, 4:34 PMproud-jewelry-46860
05/28/2025, 4:40 PM-c
is a config). But now it should be -c user.name=$(git config get --default=check-spelling-bot user.name)
quick-keyboard-83126
05/28/2025, 6:10 PMquick-keyboard-83126
05/28/2025, 6:10 PMquick-keyboard-83126
05/28/2025, 6:10 PMfast-garage-66093
05/28/2025, 6:18 PMquick-keyboard-83126
05/28/2025, 6:18 PMquick-keyboard-83126
05/28/2025, 6:19 PMquick-keyboard-83126
05/28/2025, 6:19 PMquick-keyboard-83126
05/28/2025, 6:20 PMfast-garage-66093
05/28/2025, 6:20 PMquick-keyboard-83126
05/28/2025, 6:20 PMquick-keyboard-83126
05/28/2025, 6:21 PM-c ...
unconditionally, and if someone uses the env vars, they winquick-keyboard-83126
05/28/2025, 6:21 PMquick-keyboard-83126
05/28/2025, 6:21 PM-c ...
for both is probably the right thingquick-keyboard-83126
05/28/2025, 8:17 PM-c
for a bit and see how things go... https://github.com/check-spelling/check-spelling/commit/f59937dbf94b44de73663f71bd07bfa95026c43aquick-keyboard-83126
05/28/2025, 8:18 PM-c
syntax right was also not fun...)