ResourceHub icon indicating copy to clipboard operation
ResourceHub copied to clipboard

Auto-Commenting Feature for PR Raised

Open jfmartinz opened this issue 9 months ago • 7 comments

To enhance our communication and acknowledgment process, we're implementing an auto-commenting feature for specific events within our project repository. This feature will automatically generate comments under the following circumstances:

PR Raised: When a contributor raises a pull request (PR), an auto-comment will be posted to provide acknowledgment and any relevant instructions or feedback regarding the PR.

Message: "[Auto-Comment]: Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊 "

jfmartinz avatar May 11 '24 12:05 jfmartinz

Idea Contribution

I have read all the feature request issues.

Explain feature request

The feature request is to implement an automated acknowledgment system for contributors who submit pull requests to our project repository.

Explain your solution

I propose leveraging GitHub Actions to automatically comment on pull requests, acknowledging the contributors and providing relevant feedback or instructions. This solution will streamline our communication process and enhance the contributor experience.

Any alternative approaches/features

Alternatively, we could explore using webhooks to trigger a custom script that handles pull request events and automatically posts comments based on predefined criteria. This approach offers flexibility and can integrate with external services or workflows.

Rajneeshkarya avatar May 11 '24 14:05 Rajneeshkarya

Hello, @jfmartinz As a contributor to GSSoC'24, I would like to contribute this resource to your already very useful and significant repository. If you gave me this problem to handle.

Rajneeshkarya avatar May 11 '24 14:05 Rajneeshkarya

Assigned to you! :)

jfmartinz avatar May 11 '24 15:05 jfmartinz

Hi @jfmartinz, I am facing some issue with GITHUB_TOKEN, and for that I've contacted the mentor of this repository, he is asking for some admin access.

Rajneeshkarya avatar May 12 '24 08:05 Rajneeshkarya

Hi @jfmartinz, I am facing some issue with GITHUB_TOKEN, and for that I've contacted the mentor of this repository, he is asking for some admin access.

I'll take care of creating the token for you. Once it's ready, you can give me the instruction on how to set it up in the repository. Ive done this before but I forgot to do it. Your role can then focus on creating the YAML file for the auto comment. If you have clarification or question dont hesitate, thank you

jfmartinz avatar May 12 '24 12:05 jfmartinz

Okay, I will provide you the instruction to setup the secret token, also I would like to do all the autocommenting issue for you. could you please assigned them to me?

Rajneeshkarya avatar May 12 '24 14:05 Rajneeshkarya

Okay, I will provide you the instruction to setup the secret token, also I would like to do all the autocommenting issue for you. could you please assigned them to me?

Okay, thank you. Sure I will.

jfmartinz avatar May 12 '24 14:05 jfmartinz