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

Restrict user from claiming a pull request. #231

Merged
merged 1 commit into from
Feb 11, 2024
Merged

Conversation

sayyedarib
Copy link
Contributor

@sayyedarib sayyedarib commented Jan 4, 2024

CZO thread

Before After
Screenshot from 2024-01-04 14-28-15 Screenshot from 2024-01-08 13-22-23

Copy link

codecov bot commented Jan 4, 2024

Codecov Report

Merging #231 (b7fcaa1) into main (9f45af4) will increase coverage by 0.21%.
Report is 1 commits behind head on main.
The diff coverage is 83.33%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #231      +/-   ##
==========================================
+ Coverage   64.04%   64.25%   +0.21%     
==========================================
  Files          23       23              
  Lines        1741     1757      +16     
==========================================
+ Hits         1115     1129      +14     
- Misses        626      628       +2     


Thanks for your interest in Zulip! Please note that claiming pull requests is not supported. You can exclusively claim and submit pull requests for issues bearing the [help wanted](https://github.com/{repoOwner}/{repoName}/issues?q=is%3Aopen+is%3Aissue+no%3Aassignee+label%3A%22help+wanted%22) label.

If this is your first time here, we recommend reading our [guide for new contributors](https://zulip.readthedocs.io/en/latest/overview/contributing.html) before getting started.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make it:


Hello @{commenter}!

You have attempted to claim a pull request, which is someone else's proposed solution for an issue. Please review our guide for new contributors to learn how to find an issue to work on.

@sayyedarib
Copy link
Contributor Author

I've updated the texts per your suggestions. Please take another look and let me know if any other changes are needed.

@alya
Copy link
Contributor

alya commented Jan 5, 2024

Thanks! @andersk are you the right person to review this PR?

@alya
Copy link
Contributor

alya commented Feb 8, 2024

@timabbott are you up for reviewing?

@andersk
Copy link
Member

andersk commented Feb 10, 2024

The first commit will crash without the second, so it is not a coherent logical unit. The two commits need to be squashed together.

Earlier response for claiming an issue and pull request was same,
this commit restricts contributors from claiming a pull request.

tests: Add test scenario for pull request claim attempt.

template: Add new message for pull request claim.

Signed-off-by: sayyedarib <[email protected]>
@andersk andersk merged commit b7fcaa1 into zulip:main Feb 11, 2024
4 checks passed
@andersk
Copy link
Member

andersk commented Feb 11, 2024

Thanks @sayyedarib, this is live now.

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

Successfully merging this pull request may close these issues.

4 participants