Skip to content
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

Contributor Action #24

Open
bislara opened this issue Sep 28, 2020 · 7 comments
Open

Contributor Action #24

bislara opened this issue Sep 28, 2020 · 7 comments

Comments

@bislara
Copy link
Owner

bislara commented Sep 28, 2020

Description

Add a GitHub Action to add the contributor to the readme by invoking the @all-contributors bot 🤖. Only the new contributors should be added. The contributors should have a code and documentation attribute in the description. After this is done, It should automatically create a pull request for this change.

Technologies and Languages

  • GitHub actions

Reference Link

All Contributors bot

@hariom1625
Copy link

Hey, can you please elaborate on the issue furthermore, because as I can see you already have all-contributors package configured for you in the README.md file.

@bislara
Copy link
Owner Author

bislara commented Sep 28, 2020

The list of contributors goes on changing as a new contributor gets added after their PR is merged. I have to update the readme manually, but adding their name, their avatar URL, their list of commits as code and their PR as documentation.

I wanted if we can automate this process. I have installed the @all-contributors bot for this repo but I have to put the below comment on issues or PR to add that particular user in the contributor table in the readme.
@all-contributors please add <username> for <contributions>

So, all I want is once a new contributor's PR is merged, the GitHub bot should comment the above code and then @all-contributors bot will create a PR.

For more details go through the reference link.

@allcontributors
Copy link
Contributor

@bislara

I could not determine your intention.

Basic usage: @all-contributors please add @Someone for code, doc and infra

For other usages see the documentation

@hariom1625
Copy link

Got it, well till now I also haven't automated the process, have been using the same approach. Let me see if I can find a way to automate this manual process :-)

@bislara
Copy link
Owner Author

bislara commented Sep 28, 2020

You need some time or should I assign it to you?

Basically, you have to create an action which will comment on a merged PR and the comment should contain the All contributor addition code.

@hariom1625
Copy link

Don't assign it to me now, once I will figure out how to trigger that task I will make the PR :-)

@bislara
Copy link
Owner Author

bislara commented Sep 29, 2020

Okay cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants