Giter Site home page Giter Site logo

fakerr / sern Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 488 KB

A Github operation bot that helps you prevent merge skew/semantic merge conflicts so your master branch stays always green

Go 59.63% HTML 5.43% CSS 14.13% JavaScript 17.45% SCSS 2.31% Dockerfile 1.05%
bot github github-bot

sern's Introduction

Sern

Sern is a Github bot that helps you manage your merges and prevents merge skew/semantic merge conflicts so your master branch stays always green.

Motivation

If you have two pull requests that modify dependent code, the tests could pass on each pull request independently and Github would allow you to merge the PRs, however, the build may break after the merge.

One option to fix that would be to block PRs that are not up to date from being merged and sync each time you would need to, but this would mean you will move responsibility to devs to continuously watch over PRs status in order to keep things up to date which is not efficient.

How it works

In order to keep master green, Sern follow those two rules:

  • Make sure all branch builds are run whilst rebased against latest master before merging
  • Make sure only one build can be merged at a time

For that, Sern provides a simple queue and a way to run a custom build against master. Instead of hitting "merge", you'll get Sern to add your PR on a queue which runs one last sanity check build on a special staging branch. The build is the equivalent of what would have run if the merge happened. If it goes green, the PR is merged automatically.

No longer maintained

This project is not finished and is now archived. Many alternatives of pull requests automation branch update and merge that are more mature already exist (ex: Kodiak, mergify , etc...)

sern's People

Contributors

fakerr avatar

Stargazers

Peter Abbasi avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.