Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cherry-webhooks

cherry plugin to listen for webhooks events


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

cherry-webhooks

config

This config will create a server listening on port 42777 and will produce from: "dockerhub" messages when a "POST /my_dockerhub_hook" request is received.

"webhooks": {
  "host": "0.0.0.0",
  "port": 42777,
  "hooks": [
    [ "dockerhub", "/my_dockerhub_hook" ]
  ]
}

api

Produces "from: <webhook_name>" messages. e.g.

cherry.handle({
  dockerhub: function (message) {
    var repo = message.repository.repo_name;

    cherry.produce({
      to: 'chat',
      body: '[dockerhub] pushed at ' + repo
    });
  }
});

FAQs

Package last updated on 14 Sep 2014

Did you know?

Socket

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