Skip to content

feat: add script to rename labels in GitHub repositories#4

Open
bjohansebas wants to merge 1 commit intoexpressjs:mainfrom
bjohansebas:rename-labels
Open

feat: add script to rename labels in GitHub repositories#4
bjohansebas wants to merge 1 commit intoexpressjs:mainfrom
bjohansebas:rename-labels

Conversation

@bjohansebas
Copy link
Copy Markdown
Member

to rename the labels, which is necessary since we need to modify the 'top priority' label to 'working session' label or something similar.

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>
Copy link
Copy Markdown
Member

@IamLizu IamLizu left a comment

Choose a reason for hiding this comment

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

The function names are misleading. Can please have something like the following suggestions?

I would check the PR again once we have updated the function names.

Comment thread owner/rename-labels.mjs
}
const orgName = 'expressjs';

export async function createLabelInRepo(label, owner, repo) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

export async function updateLabelInRepo(label, owner, repo) {

Comment thread owner/rename-labels.mjs
}
}

async function createLabelInAllRepos() {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

async function updateLabelInAllRepos() {

Comment thread owner/rename-labels.mjs
}
}

createLabelInAllRepos(); No newline at end of file
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

updateLabelInAllRepos();

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.

2 participants