cla-check

command module
v0.0.0-...-42a1ec8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2019 License: MIT Imports: 13 Imported by: 0

README

CLA checker

Contributor Covenant

cla-check promtps a contributor to sign the Gauge Contributor License agreement. It is an end-point to the excellent cla-bot. It's triggered on PR submission label's and adds a cla-signed label for authors who've accepted the CLA.

Running Locally

Pre-Requisites
  • golang
  • govender
Steps
  • clone this repository
  • run test by executing go test ./...
  • set following required env variables
    • COOKIE_NAME :- the cookie which you wnat to use for auth
    • PORT :- port where you wnat to run your app
    • DB_DIALECT :- the database which you want to use
    • DATABASE_URL :- URL of the database
    • GITHUB_KEY :- github client ID for OAuth app
    • GITHUB_SECRET :- gitub client secred for your OAuth app
    • CALLBACK_HOST :- A callback URL for OAuth to redirect afetr authentication
    • CONTRIBUTOR_URL :- a secret url to list all users from database
    • ACCESS_TOKEN :- A personal github access token to interact with github PRs
  • Run the app by eecuting go run main.go

Deploy this to heroku if you want your own instance.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL