Skip to content

hokein/probot-cpplint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Probot: Cpplint

a GitHub Integration built with Probot that automatically identifies cpplint issues during code reivew.

image

See probot-cpplint-test#10 for an example.

Deploy to Heroku

  1. Install Heroku CLI.

  2. Create a GitHub integration:

    • Webhook URL: <your_app>.herokuapp.com and we will know it when creating a new heroku app (heroku create)
    • Webhook secret: <random_string>
    • Permissions & events: Read & write on Pull requests and Repository contents
  3. Download the private key prod.pem and remember your integration id.

  4. Install the GitHub integration by clicking Install button on the settings page.

  5. Clone this repository git clone https://github.com/hokein/probot-cpplint.git.

  6. Deploy to Heroku, run the following commands:

    $ cd /path/to/probot-cpplint
    // Create a heroku app
    $ heroku create
    // Set configuration
    $ heroku config:set WEBHOOK_SECRET="" PRIVATE_KEY="$(cat /path/to/prod.pem)" INTEGRATION_ID=<integration_id>
    // Deploy the plugin to heroku
    $ git push heroku master

The probot plugin should be up and working now. Create a test repository to test it. See the official doc for more details.

About

automatically identify cpplint issues

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published