Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script for issue migration #8

Merged
merged 1 commit into from
Apr 29, 2021
Merged

Add script for issue migration #8

merged 1 commit into from
Apr 29, 2021

Conversation

obulat
Copy link
Contributor

@obulat obulat commented Apr 27, 2021

Fixes #6

This PR uses octokit to automate migrating issues with specific labels from old repo into new one. It needs an auth token to run.

Copy link
Member

@dhruvkb dhruvkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I know that this script is just being checked into the repo for preservation, I do have a couple of suggestions that could be incorporated (if even running it again).


// TODO: add auth token
const octokit = new Octokit({
auth: '',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can use environment variable here.

})
}

const REPOS = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This info can be pulled from the data/ folder.

@zackkrida zackkrida merged commit 32f864d into main Apr 29, 2021
@zackkrida zackkrida deleted the js_issue_migrate branch April 29, 2021 15:45
@zackkrida
Copy link
Member

Will make a separate issue for Dhruv's suggestions.

dhruvkb pushed a commit that referenced this pull request Feb 20, 2023
dhruvkb pushed a commit that referenced this pull request Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initialize js section and add @obulat's issue migration script
3 participants