-
Notifications
You must be signed in to change notification settings - Fork 147
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
feat: don't create PR when contributor already have contribution type #346
feat: don't create PR when contributor already have contribution type #346
Conversation
@rluvaton is attempting to deploy a commit to the All Contributors Team on Vercel. A member of the Team first needs to authorize it. |
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/all-contributors/app/FGVNmUvjjNbW2pYpNkDkon9upuJp |
@rluvaton I've deployed your update as preview to Vercel and updated https://github.com/apps/all-contributors-preview to point to that deployment. Can you install https://github.com/apps/all-contributors-preview on a test repository and see if it resolves your problem? Make sure that you don't have both https://github.com/apps/allcontributors and https://github.com/apps/all-contributors-preview installed on the same repository, otherwise the two will conflict with each other |
@gr2m I installed it and it doesn't respond to any of my comments. |
Thank you for your help, I fixed it |
can you try again |
@gr2m Work like a charm!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thank you 👏🏼
🎉 This PR is included in version 1.13.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
@gr2m Don't forget to add me as a contributor 😉 😉 |
haha I just waited for the new deployment to finish so I could test the changes in production :D @all-contributors please add @rluvaton for code, bug |
I've put up a pull request to add @rluvaton! 🎉 |
I used to use the old behavior to update the README. Now how do I update README without adding a new contributor/contribution type? |
I'm having a hard time to understand 😬, what do you mean by:
Update with what changes? |
For example, manual changes of |
It was a workaround of #157. |
And you want your manual change to update the README? |
I think the best solution is to implement what #157 requests. |
I see, I'm a little bit busy at the moment so I won't be able to create a PR, but you're more than welcome 🤗 , I'll try to help you; From what I understand from the code, you need to add the action here: app/lib/process-issue-comment.js Line 30 in 00d277f
Extract the code after to an Add the action to here: Line 197 in 00d277f
Take some of the code from here: Line 39 in 00d277f
And I think that's it 😅 |
I have noticed that if the bot is asked to add a contributor for a given contribution and the PR is not merged, when asked again the bot says that the user has already contributed before to that aspect. Is this the intended behaviour or is this a bug? |
I think you should open a new issue and reference this and I try to answer it there |
Closes #345