All Projects → christofdamian → plus-pull

christofdamian / plus-pull

Licence: MIT License
Script that checks pull requests and merges them if they satisfy certain requirements.

Programming Languages

PHP
23972 projects - #3 most used programming language
Dockerfile
14818 projects

Labels

Projects that are alternatives of or similar to plus-pull

rumi
trivago continuous integration executor
Stars: ✭ 21 (+61.54%)
Mutual labels:  ci
arduino ci
Unit testing and Continuous Integration (CI) for Arduino libraries, from a Ruby gem
Stars: ✭ 92 (+607.69%)
Mutual labels:  ci
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (+761.54%)
Mutual labels:  ci
development-hub
A continuous integration solution for Power Apps.
Stars: ✭ 21 (+61.54%)
Mutual labels:  ci
generate-changelog
generates changelog from git based on jira tickets
Stars: ✭ 18 (+38.46%)
Mutual labels:  ci
docker-dev-arduino
Arduino development environment in a container
Stars: ✭ 18 (+38.46%)
Mutual labels:  ci
makes
A DevSecOps framework powered by Nix.
Stars: ✭ 158 (+1115.38%)
Mutual labels:  ci
CIAnalyzer
A tool collecting multi CI services build data and export it for creating self-hosting build dashboard.
Stars: ✭ 52 (+300%)
Mutual labels:  ci
jt tools
Ruby on Rails Continuous Deployment Ecosystem to maintain Healthy Stable Development
Stars: ✭ 13 (+0%)
Mutual labels:  ci
apitest
Apitest is declarative api testing tool with JSON-like DSL.
Stars: ✭ 88 (+576.92%)
Mutual labels:  ci
megalinter
🦙 Mega-Linter analyzes 48 languages, 22 formats, 19 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
Stars: ✭ 534 (+4007.69%)
Mutual labels:  ci
status-back
⬅️🔵 Send the status back to the github from CI environment
Stars: ✭ 19 (+46.15%)
Mutual labels:  ci
tip
GitHub Action to keep a 'tip' pre-release always up-to-date
Stars: ✭ 18 (+38.46%)
Mutual labels:  ci
deploy-to-cocoapods-github-action
Github action for deploying to Cocoapods.org
Stars: ✭ 29 (+123.08%)
Mutual labels:  ci
jcefbuild
Binary builds of java-cef
Stars: ✭ 160 (+1130.77%)
Mutual labels:  ci
steps-git-clone
No description or website provided.
Stars: ✭ 14 (+7.69%)
Mutual labels:  ci
awesome
A curated list of delightful developers resources.
Stars: ✭ 13 (+0%)
Mutual labels:  ci
docker
Scripts to build and use docker images including GHDL
Stars: ✭ 27 (+107.69%)
Mutual labels:  ci
steps-cocoapods-install
No description or website provided.
Stars: ✭ 19 (+46.15%)
Mutual labels:  ci
check-in
Checks your test results metadata into github, commit-bound. Acts as a bot. You'll need a GitHub App to use it.
Stars: ✭ 18 (+38.46%)
Mutual labels:  ci

Build Status

plus-pull

Simple script that checks pull requests on a repository on Github and pulls them if they satisfy certain requirements.

By default these requirements are:

  1. the sum of +1 and -1 is at least 3
  2. there are no [B] blocker comments
  3. the request is mergeable
  4. (optionally) all build statuses are OK

Install

composer.phar create-project cdamian/plus-pull

Command Line Usage

Check pull requests:

check [-p|--pull] [-l|--limit="..."] [config-file]

Arguments:
 config-file           Path of the yaml configuration file (default: "config.yml")

Options:
 --pull (-p)           Pull the request if all conditions are met
 --limit (-l)          Maximum numbers of pull (default: 1)

Create a new github authorization token:

token:create [--note="..."]

Options:
 --note                Note for the authorization token on github (default: "plus-push")

Configuration File

With the config file you can set the github authorization username and password or an github authorizisation token.

The other section sets the repository owner and name and you can change the defaults for needed votes, if status will be checked and voter whitelist.

You have also the option to automatically add labels for keywords found in the comments. In the example below we will add the label 'blocked' with the given color if we see '[B]' in one of the comments. The label will be created if it doesn't exist.

authorization:
    username: christofdamian
    password: secret
    token: githubtoken

repositories:
    -
        username: christofdamian
        name: test
        status: true
        required: 3
        whitelist: [ christofdamian ]
        wait: 300
        mergemode: merge
        labels:
            -
                name: blocked
                color: eb6420
                hook: '[B]'

Credits

We are using a similar script at work, which was started by @adriacidre . This is a complete rewrite though to make it easier to add further features.

Label support by @ifosch

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].