Creating your First Valid PR for Hacktoberfest 2023

Leonardo Montini - Sep 18 '23 - - Dev Community

Starting from September 26th you can register for the event. There will be a button on the official website and you can connect with your GitHub or GitLab account.

Why do you need to sign up?

The Hacktoberfest challenge consists of completing at least 4 valid Pull Requests on GitHub (or Merge Request on GitLab) and by signing up you can begin your quest and see the progress live, starting from the first of October.

I recorded a video where we can see together two main aspects:

  • How to create your first pull request on GitHub
  • What are the rules to make sure your PR is valid for the Hacktoberfest challenge

You can find here a quick guide, in case you don't have time to watch the full content on the video.

How to create your first pull request on GitHub

The only requirement is to have a GitHub account, if you already created one to sign up for Hacktoberfest, you're good to go.

These are the basic steps, I will also link other resources I already made in case you need more details on a specific step.

  1. Find a repository you want to contribute to
  2. Fork the repository
  3. Clone the forked repository on your computer
  4. Create a new branch
  5. Do the changes, commit and push
  6. Head over the original repository and create a Pull Request (there will be a yellow banner on top of the page)

What makes a PR valid for Hacktoberfest?

To begin with, it has to be merged, so please patiently wait for the maintainers to review it and give you feedback. Don’t forget that it’s not a race, take your time, the maintainers of the project might take a few hours or even some days to get back to you and that’s totally fine.

In most active project you’ll probably get an answer quite soon, but if you have to wait, that’s part of journey.

But, back to our rules! They’re all listed on the official website and they're pretty straightforward.

I would say we can summarize them in one sentence:

Your PR should add value to the project that is on a public repository participating in Hacktoberfest.

As long as you're not submitting spammy PRs, you should be fine.

The only requirement which might deserve a bit more attention is to make sure the repository is in fact participating, and you can see that easily if it has the Hacktoberfest topic or if the maintainers are using the hacktoberfest-accepted label.

If the project is not participating... well, you can contribute regardless! The PR won't be counted for the challenge, but it's still one more contribution to your open source journey.

Verification period

The last bit of information you need to know is that PRs once verified will be valid only after a 7 days countdown that you can see updating real time on the hacktoberfest page, and this is pretty much to make sure the PR is not spam.

Closing

And that was it! You know know all the basics you need to get started with Hacktoberfest.

Just as a reminder, this year there will not be any physical rewards (like tshirts), but you will receive some digital badges and a tree will be planted in your name.

I talk about that in this video here:


Thanks for reading this article, I hope you found it interesting!

I recently launched my Discord server to talk about Open Source and Web Development, feel free to join: https://discord.gg/bqwyEa6We6

Do you like my content? You might consider subscribing to my YouTube channel! It means a lot to me ❤️
You can find it here:
YouTube

Feel free to follow me to get notified when new articles are out ;)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .