Skip to content

mtodd/team-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team-Sync

This project demonstrates how to sync one Team to another Team using the GitHub API.

Setup

Requires running your own Heroku cron daemon.

# clone the repo
$ git clone https://github.com/mtodd/team-sync
$ cd team-sync

# create a heroku app
heroku create
git push heroku master

# configure settings
# first generate a personal access token (with admin:org scope)
$ heroku config:set GITHUB_ACCESS_TOKEN=abcd1234
# set source team
$ heroku config:set SOURCE=myorg/source-team
# set target team(s)
$ heroku config:set TARGET=myorg/target-team

# configure cron task
$ heroku addons:add scheduler:standard
$ heroku addons:open scheduler

Schedule the rake sync task:

About

Replicate members list from one team to another

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages