5 Top Reasons to Use GitHub Actions for Your Next Project
Tags: github, githubactions, cicd, devops
Published: 2023-03-22 01:24:25

A lot of people have been asking me on Twitter, Discord, Facebook, etc, whether they should be using GitHub Actions and why choosing it over other services. So I’ve decided to put together 5 of the most important reasons why I think GitHub Actions is a great service.

### Video

As usual, if you are a __visual learner__, or simply prefer to watch and listen instead of reading, here you have __the video with the whole explanation__,:

{% youtube vNb-NAogQUc %}

[Link to the video: https://youtu.be/vNb-NAogQUc](https://youtu.be/vNb-NAogQUc)

If you rather prefer reading, well... let's just continue :)

### Automation

Anyway, why use GitHub Actions? Well, first reason is **Automation.**

GitHub Actions can automate your workflow, allowing you to build, test, and deploy your code right from GitHub. This can save you a lot of time and effort. For example, you can use GitHub Actions to automatically build and test your code every time you push a commit to GitHub. This ensures that your code is always up-to-date and working as expected. 

![Automation with ProBot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rpi67kyh9lm7z9fjisqk.png)

But it doesn’t stop here. As you may have heard me saying already, you can also use GitHub Actions to automate other tasks, such as sending notifications, running scripts, managing pull requests and issues, and much more.

I have a whole video about automating stuff with Actions, you have the link up here and in the video description.

### Customization

Second reason to use the service is **Customization.**

GitHub Actions are highly customizable. You can create your own actions or use actions from the GitHub Marketplace to build workflows that meet your specific needs. For example, you can use a pre-built action to deploy your code to a specific cloud provider.

![A Custom Action Script](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ospff9lu7i0j3uu3mhll.png)

Or you can create your own action to run a custom test suite. You can also use environment variables and secrets to customize your workflows even further. If you can think about it, you can do it. There is no limit with GitHub Actions! 

Oh btw, let me know in the comments if you want me to cover the creation of custom actions in a future article/video.

### Integration

Another reason to use GitHub Actions, the third one, is **Integration.**

GitHub Actions integrates seamlessly with other GitHub features, such as pull requests and issues. This makes it easy to manage your entire workflow in one place. For example, you can use GitHub Actions to automatically build and test your code whenever a pull request is opened. 

This ensures that your code is always tested before it’s merged into your main branch. You can also use GitHub Actions to automatically close issues or assign them to specific team members.

![Integration with Jira](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g8mns92z0lkll2vlplrs.png)

Furthermore, Actions integrate with the major cloud providers, including Azure, AWS and GCP, and most of the common DevOps and work management tools like Jira, Service Now, Slack, etc, and you can use it even if your code is not in GitHub (like if you are using, for example, GitLab, Azure DevOps, Jenkins, etc)

### Community

Fourth reason to use GitHub Action? The **Community.**

GitHub Actions has a large and active community. And this is a double advantage.

You can find many pre-built actions in the GitHub Marketplace, and you can also share your own actions with the community. This makes it easy to find and use actions that meet your specific needs. You can also contribute to the community by creating your own actions or improving existing ones.

![GitHub Actions Page on SO](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/unx53a9m6m625l96nsr9.png)

As I’ve mentioned there is a second advantage to the large community behind GitHub Actions: the support. You can literally find thousands and thousands of people who have either experienced already your pain points and challenges, and so you have the solutions arleady ready, or you can ask in forums like Stack Overflow or GitHub’s own portal “GitHub Community” and have the answers to your questions in literally minutes.

### Cost

And if you need one more reason to use GitHub Actions, the fifth and last one of this video, that would be **Cost.** Or, better, lack thereof**.**

![Cost Comparison for GitHub Actions](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gp8q9f689kql49pco118.png)

GitHub Actions, in fact, is free for public repositories, and you get 2,000 free minutes of build time per month for private repositories. This makes it an affordable option for developers of all sizes. If you need more build time, you can purchase additional minutes at a reasonable price. You can also use self-hosted runners to run your workflows on your own infrastructure.

### Conclusions

Let me know in the comments if you have other important reasons why you think someone should use GitHub Actions and, if you want to know more about the service, check out [my complete 1 and a half our GitHub Actions course](https://youtu.be/TLB5MY9BBa4).

__Like, share and follow me__ 🚀 for more content:

📽 [YouTube](https://www.youtube.com/CoderDave)
☕ [Buy me a coffee](https://buymeacoffee.com/CoderDave)
💖 [Patreon](https://patreon.com/CoderDave)
📧 [Newsletter](https://coderdave.io/newsletter)
🌐 [CoderDave.io Website](https://coderdave.io)
👕 [Merch](https://geni.us/cdmerch)
👦🏻 [Facebook page](https://www.facebook.com/CoderDaveYT)
🐱‍💻 [GitHub](https://github.com/n3wt0n)
👲🏻 [Twitter](https://www.twitter.com/davide.benvegnu)
👴🏻 [LinkedIn](https://www.linkedin.com/in/davidebenvegnu/)
🔉 [Podcast](https://geni.us/cdpodcast)

<a href="https://www.buymeacoffee.com/CoderDave" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 30px !important; width: 108px !important;" ></a>

{% youtube vNb-NAogQUc %}