Tutorials

Step by step, we explain how to do specific tasks related to software development and GitHub utilization.

Mathieu Poissard

Automate Pull Request Rebasing - How to Do It?

Rebasing a pull request is as necessary as it is tedious. Fortunately, this process can be automated. Find out how in this article.

Julien Danjou

Cutting Costs with GitHub Actions: Efficient CI Strategies

While using GitHub Actions can be costly, it is possible to save monetary resources by developing the right strategy. In this article, you'll find a list of all the tips and tricks we rely on at Mergify to keep our CI budget under control with GitHub Actions.

Hugo Escafit

Handling Emergency Pull Requests Using Merge Queues

In this tutorial, we will explore how to manage emergency pull requests by creating multiple merge queues based on priority! ๐Ÿ”ผ

Hugo Escafit

How to Handle Dependencies Between Pull-Requests

TL;DR At the end of this article, we will have learned valuable techniques for managing dependencies between Pull Requests (PRs). We would understand how to strategically handle conflicts and optimize the order of merges. ๐Ÿฆธโ€โ™‚๏ธ๐Ÿš€ Introduction In the dynamic environment of software development, effective management of dependencies between pull requests

Hugo Escafit

How to Automate the Code Merging Process

Tired of handling merges manually as your team develops? It may be time to automate code merging instead. Merging code in Git can be tedious and time-consuming, leading to missed milestones and more in particularly dire cases. Automation is a great solution, but you'll need to use it

Hugo Escafit

Regex 101: Everything you need to know

Text processing automates the analysis and sorting of unstructured text data. Machine learning models can use this structured information to generate new text, manipulate the existing text, or get insights from it. In this article, weโ€™re looking at a robust and efficient text-processing approach: Regex. Regex has individual syntax,

Erwan Simonetti

How to Start Using Python Typing?

Most programming languages are either statically or dynamically typed. With static typing, developers need to define the type of data used, like in the example below in the C language: int example_function(int number, char *string) From the very first look at this function, you know that it takes

Hugo Escafit

How to Protect Secrets When Using GitHub Actions?

With the launch of GitHub Actions, GitHub has taken the DevOps world by storm. All the new buzzwords, such as Serverless, Functions as a Service (FaaS), and Platform as a Service (PaaS), have become much more accessible. GitHub Actions are a new breed of FaaS. This new service allows anyone

Hugo Escafit

How Can I Improve My Developer Experience (DevEx)?

Find some useful tips to improve your Developer Experience, make your team happy and your company best place to work for software developers.

Fabien Martinet

Flaky Tests: How to Fix Them?

In the world of software development, tests are easier to write than to maintain. This statement is even more accurate when it comes to flaky tests. You know, those tests that pass 90% of the time, but well, sometimes, they fail without you knowing why ๐Ÿ˜ข. In cases of flakiness, each

Alexandre Gaubert

You Are Doing Jest the Wrong Way

I wrote Jest tests for over three years on a complex web application. Like me, ย you are probably doing it the wrong way. Without knowing it. I'm not blaming you. Jest is an excellent test runner for frontend code, coupled with enzyme and react-testing-library for React apps, it

Fabien Martinet

Flaky tests: what are they and how to classify them?

What is a flaky test? This is a big question since automated testing is key to CI/CD. To fully answer this question, you will understand what makes a test flaky and know the different types of flaky tests, helping you to classify them.