Skip to content

Instantly share code, notes, and snippets.

@joshrowley
Last active December 27, 2015 18:09
Show Gist options
  • Save joshrowley/7367533 to your computer and use it in GitHub Desktop.
Save joshrowley/7367533 to your computer and use it in GitHub Desktop.

Encore

Give your Github issues a second life by reopening them when a resolving commit is merged into the staging branch of your project.

Models

Commit

  • sha
  • #issues - Returns Issue that this commit is related to

Issue

  • id/gh_id
  • #new (gh_res) - parses
  • #reopen - reopens the commit on Github

Project

  • owner
  • name

Modules

Github

  • .parse(res) - Parses Webhook request into commits
  • .reopen_issue(id) - reopens issue on Github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment