Code Monkey home page Code Monkey logo

github-and-asana's Introduction

GitHub/Asana integration

This is an ad hoc built Asana/GitHub integration which keeps tickets in sync with relevant pull request statuses.

Thank you for your interest in this! Currently the integration is not in any way a product, just our internal tool which we felt might be used by someone else. Please feel free to deploy it and tinker with it!

Unfortunately we don't have any spare time at the moment even to document the tool properly; we can commit to answering specific questions, but not much besides that, sorry!

Install packages

yarn install

Setup Environment

See process.env.***** below

{
  port: process.env.PORT, // optional
  host: process.env.HOST, // optional
  asana: {
    accessToken: process.env.ASANA_ACCESS_TOKEN,
    projectId: process.env.ASANA_PROJECT,
    workspaceId: process.env.ASANA_WORKSPACE,
  },
  postgres: {
    host: process.env.PGHOST,
    port: process.env.PGPORT, // optional
    database: process.env.PGDATABASE,
    user: process.env.PGUSER,
    password: process.env.PGPASSWORD,
  },
  github: {
    username: process.env.GITHUB_USER,
    password: process.env.GITHUB_PASSWORD,
  },
}

Start program

Program could be started in two modes - asana and githook. First numerate Asana tasks, second listens pull requests and merges

  npm start [asana|githook]

Tests

  npm test

Webhook types

  • Handle pull_request event with all actions.

Notifications

  • receive pull request

github-and-asana's People

Contributors

ndelitski avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jr-k

github-and-asana's Issues

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.