Tutorials

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

Julien Danjou

Cycle detection in PostgreSQL

A few months ago, we decided to build a referral program for Mergify [https://mergify.io]. This is a well-known, classical way of bringing more people on your product. To build this program, we add to define a data model that allowed us to store a list of referrers and

Julien Danjou

How to Merge Branches in GitHub

Try For Free

Mehdi Abaakouk

Converting a Python application to asyncio

As you may know, the Mergify engine is written in Python. To execute its vast number of asynchronous tasks, it was leveraging Celery, a framework providing task queues. While Celery is a prominent framework, it was not suited anymore for Mergify growth. In 2020, we decided to replace Celery with

Julien Danjou

How to serve static files from GitHub

Like many developers out there, you might use GitHub to store your source code. When you're building something pretty simple like a Web application, HTML files, JavaScript code, CSS stylesheets, etc., it could be useful to directly distribute your file through HTTP. The Naive Approach You probably tried

Julien Danjou

Randomly Request Reviews from Your Team

Requesting reviews on a pull request is a standard part of the workflow of most teams. However, there are a few subtleties to what may sound very basic. When assigning a pull request to a team rather than individuals, the pull request might get stuck forever. The diffusion of responsibility

Mehdi Abaakouk

Handling European VAT with Stripe

You might have never noticed our accent, but Mergify is registered in the country where cheese is king: France. This has a myriad of implications and a pretty famous one among our peers selling digital services: companies registered in the European Union have to comply with the value-added tax for

Julien Danjou

Dealing Faster with Conflicting Pull Requests

While we all have a different way of managing our GitHub workflow, we all have to deal with one annoying thing: conflict. When a pull request modifies a file that has been modified in the meantime, GitHub shows you the famous Resolve conflicts button. This indicates the pull request cannot

Julien Danjou

Selecting your Bot Account

New Mergify users might wonder what hides behind this cryptic title. Do not fear: I am sure you're going to like it. Before jumping into the feature presentation β€” which ought to be short as it's a simple variable in your configuration β€” you need to understand the

Julien Danjou

Managing your GitHub pull request from the command line

At Mergify, we love providing the best tools for developers. Like many software engineers out there, we leverage GitHub to collaborate. After all, that’s how we started this! The GitHub pull request model is nice, but usually requires a lot of manual steps: 1. Forking the repository by clicking