Socket
Socket
Sign inDemoInstall

mc-ext-github

Package Overview
Dependencies
38
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mc-ext-github

Mission Control Extension for working with GitHub, including cloning repos, handling webhooks, and the status API.


Version published
Weekly downloads
2
Maintainers
1
Install size
1.27 MB
Created
Weekly downloads
 

Readme

Source

Mission Control GitHub Extension

Build Status

This is an extension for Mission Control to use GitHub webhooks, and other features (in the future).

Setup

Add GITHUB_WEBHOOK_SECRET=a_securely_generated_random_string (and input a random key which will be used later to configure webhooks)

A quick method for generating an alphanumeric string:

openssl rand -hex 24

Configuring a webhook with GitHub

  1. Go to your repository on GitHub.

  2. Click on "Settings".

  3. Click on "Webhooks & services"

  4. Click on Add Webhook

    adding a webhook

  5. Enter the URL of your Mission Control with the extension webhook endpoint included http://your-host-name/ext/mc/github/webhooks/execute-pipeline/1234. Replace 1234 with your pipeline configuration id to trigger. (Note: It is highly recommended to use HTTPS.)

  6. Enter the GITHUB_WEBHOOK_SECRET from your .env file.

  7. Choose "Let me select individual events".

  8. Check the events that you want to trigger a build. You may want to check "push" and "pull request".

    configuring a webhook

  9. Click "Add webhook"

FAQs

Last updated on 14 Jan 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc