What do you want and why do you want it?.
I want a bot that automatically adds contributors to the all-contributor list or updates their contributions.
Comment here if you want to work on this — I'm happy to provide more information and guidance if you need!
@flybayer I would love to work on this.
@karankiri ok let's do it!
Then #228 can be added to this bot.
One problem we need to work out: I've removed the core team & maintainers from the all contributors list so they aren't on the readme twice. We can either add them back and just display twice (not that big of a deal), or we can fork the all-contributor code and make it also generate the maintainer list (this would be ideal)
Do you need anything from me to get started?
You can create a dummy repo on your own account for dev and testing, then we can move it over here
@flybayer I'll create a new repo on my account.
Contribution should be added regardless if the PR is merged or not
It should be added when PR is raised, is that right?
So the code for this and for #228 (by @dajinchu) will go in the same bot (unless there's a good reason not to)
And we'll host it under the Blitz Vercel account, so I can set that up and also add the live Github keys for this repo
I think we should probably create a new repo just for the bot. What do y'all think?
Yeah a new repo would be perfect. I'm just messing around in my personal repo for now https://github.com/dajinchu/gh-project-bot/projects/1
New repo here: https://github.com/blitz-js/bot-github
You both have direct access to it now
@karankiri our bot is now live and working! So we're ready for you to add this all-contributor stuff!
@flybayer Sorry for late reply, been busy with the work.
I've created a basic bot which identifies the contribution of following kind from file type.
.js | .ts | .sh -> code
.test.js | .test.ts -> test
.md | .txt -> docs
PR reviewer -> pull request.
_Can you help me with which all type of contribution type we need and how can I deduce this?_
I'll complete this over the weekend.
It would probably be smart to not auto add people by PR-reviews, because we'll get a lot of flyby reviews.
We already have a @flybayer 😛
@karankiri that looks good!
Let's just start with code, test, and docs for now. Also make sure to check for jsx and tsx extensions.
@flybayer Sure will do that.
You can add this as a PR to https://github.com/blitz-js/bot-github. You already have commit access to that repo
@flybayer Onto it. Will Send a PR by tomorrow.
Most helpful comment
@flybayer Onto it. Will Send a PR by tomorrow.