Skip to content

To clone GitHub issues with labels , milestones etc from a source repository to empty target

License

Notifications You must be signed in to change notification settings

sudeeshjohn/github-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-clone

To clone GitHub issues with labels , milestones etc from a source repository to empty target . This script expects the target repository with out any milestones, labels and issues

Run:

  1. Update information in .env file
    export GITHUB_OAUTH_TOKEN=<github api token>
    export GITHUB_SOURCE_ORG=<source org/owner>
    export GITHUB_SOURCE_REPO=<source repository>
    export GITHUB_TARGET_ORG=<target org/owner>
    export GITHUB_TARGET_REPO=<target repository>
    export GITHUB_ENTERPRISE_URL=<github enterprise url>
    

set GITHUB_ENTERPRISE_URL only if you are working with an enterprise github

  1. Run source .env
  2. make
  3. ./github-clone

TODO: Comments in the target issues

About

To clone GitHub issues with labels , milestones etc from a source repository to empty target

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published