Giter Club home page Giter Club logo

hubot-slack-github-issue-link's Introduction

[DEPRECATED]

This repository is outdated and depends on vulnerable packages. The github slack plugin now does everything this does and more. I suggest using that instead.

hubot-slack-github-issue-link

A hubot script that posts detailed slack attachments for mentioned github issues and pull requests

This script only emits Slack attachments which are crafted specifically for the Slack API.

See src/slack-github-issue-link.coffee for full documentation.

Example output

Installation

In hubot project repo, run:

npm install hubot-slack-github-issue-link --save

Then add hubot-slack-github-issue-link to your external-scripts.json:

[
  "hubot-slack-github-issue-link"
]

hubot-slack-github-issue-link's People

Contributors

ericescalante avatar martinemde avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ericescalante

hubot-slack-github-issue-link's Issues

Detect issue links that are actually PRs

Based on the pull_request key I could re-request for the PR details:

  "pull_request": {
      "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
      "html_url": "https://github.com/octocat/Hello-World/pull/1347",
      "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff",
      "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch"
    },

via Github Issue API docs

This would take care of PRs that are linked via the shorter syntax: #2 and hubot-slack-github-issue-link#2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.