Closed Asymtode712 closed 4 months ago
@Asymtode712 is attempting to deploy a commit to the Sanchit Bajaj's projects Team on Vercel.
A member of the Team first needs to authorize it.
The new close-on-merge.yml
workflow file introduces automation to close linked issues when a pull request (PR) is merged. It extracts issue numbers from the PR body, closes each linked issue, and adds a comment to inform contributors about the closure, enhancing communication and acknowledgment within the project.
Files/Paths | Change Summary |
---|---|
.github/workflows/close-on-merge.yml |
Created a new GitHub Actions workflow to automatically close linked issues and comment on their closure when a PR is merged. |
sequenceDiagram
participant Developer as Developer
participant GitHub as GitHub
participant Workflow as close-on-merge.yml
participant Issue as GitHub Issue
Developer->>GitHub: Merge Pull Request
GitHub->>Workflow: Trigger close-on-merge.yml
Workflow->>GitHub: Extract linked issue numbers from PR body
Workflow->>Issue: Close linked issues
Workflow->>Issue: Add comment indicating closure by PR
Objective (Issue #) | Addressed | Explanation |
---|---|---|
Auto Commenting when an Issue is Closed (#342) | ✅ | |
Inform contributors about issue closure (#342) | ✅ | |
Acknowledge contributors' efforts (#342) | ✅ |
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?
@Sanchitbajaj02 please review and merge this PR
Also, please add labels and assign me this PR
@Sanchitbajaj02 please add 'gssoc' label it was removed by the bot
Related Issue
fixes: #342
Description
This feature aims to solve the problem of poor communication and lack of acknowledgment when issues are closed. By automatically commenting on closed issues, it ensures that contributors are informed about the closure and are thanked for their efforts. This helps maintain a positive and engaging community atmosphere, encouraging continued contributions and fostering good relationships between maintainers and contributors.
Summary by CodeRabbit