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

Unintentional Pull Requests by people completing the task #104

Open
rockett-m opened this issue Sep 18, 2024 · 0 comments
Open

Unintentional Pull Requests by people completing the task #104

rockett-m opened this issue Sep 18, 2024 · 0 comments

Comments

@rockett-m
Copy link

The Pull requests tab is full of users trying to get their solutions into the main branch here. They don't seem to get that there is already a model-answer branch and PRs here are to solve issues rather than merge their solution to the task.

I assume a lead maintainer could adjust the settings for this.

  1. If running git remote -v did not give an upstream by default then users would push to their local repo without the "Compare and pull request" suggestion appearing and leading to all the unintentional PRs here.
  2. You could also only allow PRs if there is an issue linked.
  3. Or a template for PRs like:
## Important: Do Not Submit Task Solutions
If you are trying to submit a solution to the task, **DO NOT OPEN A PULL REQUEST**. Instead, commit and push to your own fork.

This repository does not accept pull requests for task solutions. PRs should only be opened to fix issues or improve the codebase.```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant