Git Product home page Git Product logo

dco-check-bot's Introduction

dco-check-bot

A webhook that checks for valid DCO1.1 sign-off in a pull request.

Note: if you wish to add a repository to the dco-bot already deployed, contact me for the secret key.

Contributing

Pull requests welcome. Please see contribution guidelines.

Installation

  1. Create a config.js using the config.js.sample as a template.
  2. Choose a unique value for the webhook.secret, you'll also need to create an auth token for the auth.secret
  3. Modify the manifest.yml, chosing a matching host and name for the deployed webhook bot.
  4. Deploy to cloud foundry with cf push
  5. Issue a test event by using the GitHub web UI

Adding dco-bot to a repository

  1. Open your GitHub repository's Settings dialog
  2. Click on "Webhooks and services" in left-hand margin
  3. Click "Add webhook" button
  4. Set the URL to the value of the bot's hostname followed by /webhook (eg. http://mybot.mybluemix.net/webhook)
  5. Set the value of the secret to the secret value in the config.js of the deployed bot
  6. Select 'Let me select individual events.' and select the "Pull request" checkbox
  7. Create the webhook
  8. Test by sending a pull request

dco-check-bot's People

Contributors

christo4ferris avatar

Watchers

James Cloos avatar Marc-Arthur Pierre-Louis 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.