zero-to-mastery / resources

Here is a list of best resources to get you started with learning how to code (mostly related to Web Development). Feel free to add your favorite resources as well and help others in their journey of learning.
https://zero-to-mastery.github.io/resources/
MIT License
2.6k stars 1.11k forks source link

Add a pull request template #847

Closed Dharmik48 closed 2 years ago

Dharmik48 commented 2 years ago

Having a PR template can really help new contributors while raising a PR. With a PR template, new contributors have to worry less about adding proper descriptions to PR and rather focus on actually contributing new resources.

Also, it can help to keep all PRs consistent in the project.

donmarvex commented 2 years ago

Hello @Dharmik48 , yes, indeed a pull request template is very beneficial.

I'd also like to hear your initial thoughts on this and what you have in mind for the resource repository.

Then we can proceed to assign the task to you or to another member/contributor.

Dharmik48 commented 2 years ago

a specific repository within ZTM that could need a pull request template apart from this one

You don't want a PR template for this repository?

donmarvex commented 2 years ago

a specific repository within ZTM that could need a pull request template apart from this one

You don't want a PR template for this repository?

I was just asking if you had other ideas for other repositories apart from this one also. Definitely, yes

donmarvex commented 2 years ago

But let's focus on this one and let me hear your initial thoughts about the contents of the pull request template.

Dharmik48 commented 2 years ago

a specific repository within ZTM that could need a pull request template apart from this one

You don't want a PR template for this repository?

I was just asking if you had other ideas for other repositories apart from this one also. Definitely, yes

Okay got it

Dharmik48 commented 2 years ago

But let's focus on this one and let me hear your initial thoughts about the contents of the pull request template.

Okay so in this repository, most PRs will be of new resources, so I think these should be the template's content:

donmarvex commented 2 years ago

But let's focus on this one and let me hear your initial thoughts about the contents of the pull request template.

Okay so in this repository, most PRs will be of new resources, so I think these should be the template's content:

  • Resource name and link
  • Why so they think this is a good resource
  • A GitHub repo of the resource (if any)

Alright, this looks great. So right off the bat, any contributor/reviewer is able to see this instead of having to check the changed files tab, copy/paste the link to check out the resource or check the branch and click the link to do this. This would save time for the reviewer. It's a great addition. I think the same description as included in the markdown file can be added as a fourth item in addition to why they think it's a good resource.

Now that you have outlined these items for the template, do you want to work on this?

Dharmik48 commented 2 years ago

Ya sure! I'd love to work on it.

donmarvex commented 2 years ago

Ya sure! I'd love to work on it.

I have assigned you to work on this. When you are done, you can raise a pull request and reference this issue

Dharmik48 commented 2 years ago

Sure thing! I'll get to work as soon as I can

Dharmik48 commented 2 years ago

See, when I raised this new PR, it was automatically filled with the template contents!

image