profile-readme-stats icon indicating copy to clipboard operation
profile-readme-stats copied to clipboard

ignore bot commits

Open eoli3n opened this issue 8 months ago • 2 comments

I just tried to fix my count, by excluding bot commit count as https://github.com/eoli3n/eoli3n/commit/50de2332337e4b45cdb1025b5053335e5d68fea3

And

$ git config user.name "Bot"
$ git config user.email "[email protected]"
$ git rebase -r --root --exec "git commit --amend --no-edit --reset-author"
$ git push --force

https://github.com/eoli3n/eoli3n/commits/main

Now user/email for those commits dismatches my account email, but commits still appear in count and contribution grid. Any idea ?

eoli3n avatar Oct 13 '23 20:10 eoli3n

https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile#commit-was-made-less-than-24-hours-ago

Wait and see

eoli3n avatar Oct 13 '23 20:10 eoli3n

I'd just use (they are also in the readme):

git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com

I don't remember where exactly I got those from but they've been working well for me.

teoxoy avatar Oct 13 '23 23:10 teoxoy