Locking a conversation in a pull request can help maintain focus and prevent unnecessary comments once a discussion is resolved.
Whether you're managing an active project or just trying to streamline communication, locking a conversation ensures that no further comments are added.
In this step-by-step guide, let's show you how to lock a conversation in an open pull request, complete with a demo.
Steps to follow:
1. Navigate to the 'Pull requests' section.
2. Select the pull request where you want to lock the review conversation.
3. Click on the 'Files changed' tab to add a comment or review the changes.
4. Leave a review comment on the specific line of code where changes have occurred.
5. Click on the 'Conversation' tab to view the review comment after saving the review changes.
6. Once you're on the Conversation screen, locate the added review comment and the 'Lock conversation' option. Click on 'Lock conversation' to restrict further comments.
7. Click on 'Choose a reason' and select the reason for locking the conversation.
8. Select a predefined reason from the dropdown options.
9. Click the 'Lock conversation on this pull request' button to confirm and save the changes.
10. A confirmation message and log will appear, indicating that the conversation has been locked.
That's it!
That’s how you lock a conversation in an open pull request.
Now that you've learned how to lock a conversation in a pull request, you can control the flow of discussions and keep your project focused.
This feature helps keep conversations organized and prevents clutter when a topic has been fully addressed.
Still have questions?
Send an email to archana@leadwalnut.com, OR
Book a FREE consultation with an expert developer here.