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:
- 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
- Run source .env
- make
- ./github-clone
TODO: Comments in the target issues