Skip to content

hansrodtang/pull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo Pull

Travis Build Coverage License Documentation Chat

A pull request checker library for Go.

❗ Still in heavy development. Not everything in this document is accurate. Please wait for the 0.1 release ❗

Example

handler := pull.New(
    pull.Configuration{
        Middlewares: pull.Middlewares{
            "reopened": {
                signed.Signed,
                changelog.New("CHANGELOG.md")},
            "opened": {
                deny.New("We do not accept pull requests!")}},
    })

http.Handle("/webhook", handler)
log.Fatal(http.ListenAndServe(":8080", nil))

Installation

Install with go get

  go get github.com/hansrodtang/pull

For those who prefer stable releases, you can also use gopkg.in:

  go get gopkg.in/hansrodtang/pull.v0

License

This software is licensed under the MIT license.

About

Pull Request Checker Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages