Closed roomrys closed 2 months ago
The changes introduce a reusable GitHub Actions workflow for posting comments on issues and discussions. A new template file is created to streamline the commenting process, allowing for customization through input parameters. The main workflow file is modified to include two distinct jobs that utilize this template, enhancing modularity and maintainability.
Files | Change Summary |
---|---|
.github/workflows/comment-template.yml |
Introduced a reusable workflow for posting comments with inputs for subject_id , body_prefix , and comment_type . Includes a job that uses GitHub Script to post comments. |
.github/workflows/comment.yml |
Updated to include two jobs for commenting on discussions and issues, utilizing the new template to reduce redundancy and improve maintainability. |
In the meadow where ideas bloom,
A new workflow dispels the gloom.
With comments crafted, neat and bright,
Discussions and issues take their flight.
Hoppy changes, oh what a sight! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Recently, we have unfortunately been under attack of multiple malicious comments advising users to click links and install random softwares.
In this PR, we extend the previously created discussion-comment workflow to also automatically respond to any new issue with the following message:
Thank you for starting a new issue!
We appreciate your input and will review it soon.
Stay safe and SLEAPing!
Best regards, The Team
I tested this in a fork:
Types of changes
Does this address any currently open issues?
1945
Outside contributors checklist
Thank you for contributing to SLEAP!
:heart:
Summary by CodeRabbit
New Features
Improvements