DEV Community

Tymur Levtsun
Tymur Levtsun

Posted on

My first MAJOR PR

Overview

This day has come and I finally made a PR that I can be proud of! This was a PR to a repository of the web app called LinkFree which is an open-source analog to LinkTree, where people can create profiles about them, and leave some links and some descriptions about them.

So what I did do?

I my previous article I went more in-depth of what I had to do and how I did and nothing has change since that. Now I just want to say what I did and what value provided.

LinkFree has this concept called a testimonial. This is like the tab on the user's profile where there is a list of testimonials that other users left for that user.

My task was to make a way to add testimonials and since this app is very open-source oriented and has its user data in the repo in json format I had to do it using GitHub and GitHub actions specifically.

What I did was write a template_issue, where users provided user nicknames, testimonial titles and descriptions. Then I created the GitHub action, which was triggered when the new testimonial was created and it parsed the issue, extracted user name, title and description, created a new json file with testimonial data, committed these changes and closed the issue.

What I learned?

Now, I finally feel confident with GitHub workflows and know many things about them such as ways to trigger a workflow, how to use other users' workflow, how to work with issue templates in workflow and soooo many other small things that I went through.

PR status

My PR was accepted without any requests for improvements and it was merged in a beta branch of the app where the repo maintainer tests the app. He let me know that it works well and I am extremely happy about it, because I put a lot of effort into it.

Conclusion

I fall in love with the open-source world and now I understand how it works and I made an impact that I feel proud about!

Top comments (0)