Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including ghef with all npm packages installed. Try it out:

var ghef = require("ghef")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ghef v0.1.0

Proxy for github events, only passing push and opened pull-requests to real client

GitHub Event Filter

Simple proxy (based on express-proxy) for filtering out GitHub events. In GitHub, you can configure a webhook to pass on only certain events. Unfortunately, the combination required for triggering pull-request builds is not available by default. This small script fowards only the following events:

  • push -- all push events are forwareded
  • pull-request -- only openend PR events are forwarded

This script is supposed to run as proxy for Jenkins, building pre-merged pull-requests. This maybe done in combination with smee.io.

Licence

EPL-2.0

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free