Skip to content

exabugs/GitHubIssueProjectSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHubIssueProjectSync

Qiita 「AWS Lambda で GitHub の Projects 機能を Issue と連動させて Trello の代替とする

architecture

Install

$ npm install github_issue_project_sync --save

Tutorial

const lambda = require('github_issue_project_sync');

// GitHub Private Access Token
process.env.token = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';

// GitHub Webhooks Recent Deliveries
const event = {
  headers: {
    'X-Hub-Signature': 'sha1=154b3b05dc8689ad3c54224ca6bae5befc897510'
  },
  body: JSON.stringify(require("./payload.json"))
};

const context = {
  succeed: response => {
    console.log(response);
  },
  fail: e => {
    console.log(e);
  }
};

lambda.handler(event, context);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published