An open API service indexing awesome lists of open source software.

https://github.com/f-lopes/docker-github-pull-request-status-updater

Docker image used for updating GitHub pull request statuses
https://github.com/f-lopes/docker-github-pull-request-status-updater

ci container-structure-test docker github

Last synced: about 2 months ago
JSON representation

Docker image used for updating GitHub pull request statuses

Awesome Lists containing this project

README

          

# GitHub pull request status updater

https://hub.docker.com/r/flopes/docker-github-pull-request-status-updater/

[![Build Status](https://travis-ci.org/f-lopes/docker-github-pull-request-status-updater.svg?branch=master)](https://travis-ci.org/f-lopes/docker-github-pull-request-status-updater)

[![](https://images.microbadger.com/badges/image/flopes/docker-github-pull-request-status-updater.svg)](https://microbadger.com/images/flopes/docker-github-pull-request-status-updater "Get your own image badge on microbadger.com")
[![](https://images.microbadger.com/badges/version/flopes/docker-github-pull-request-status-updater:master.svg)](https://microbadger.com/images/flopes/docker-github-pull-request-status-updater:master "Get your own version badge on microbadger.com")
[![](https://img.shields.io/docker/pulls/flopes/docker-github-pull-request-status-updater.svg)](https://img.shields.io/docker/pulls/flopes/docker-github-pull-request-status-updater.svg)
[![](https://img.shields.io/docker/stars/flopes/docker-github-pull-request-status-updater.svg)](https://img.shields.io/docker/stars/flopes/docker-github-pull-request-status-updater.svg)

![GitHub - Pull request statuses](GitHub-PR-statuses.png)

## Usage 🐳

`docker run flopes/docker-github-pull-request-status-updater []`

### Parameters
1. Repository eg. `org/repository`
2. Pull request ID
3. Pull request state (error|failure|pending|success). See GitHub [API documentation](https://developer.github.com/v3/repos/statuses/#parameters)
4. Status description
5. Context eg. `continuous-integration/jenkins`
6. GitHub API token
7. [Optional] Status target URL eg. link to Jenkins build