Synchronizing the GitHub labels across repositories.
This repo relies upon the github-label-sync npm package.
Install the following package:
npm install -g github-label-syncInstall just command runner.
And have your GitHub token set in the environment variable GITHUB_TOKEN. The token must have the repo and
public_repo scopes.
Runjust --list to see the available commands.
To apply the labels to all repos:
just apply-allTo apply the labels to one particular repo:
just apply-repo owner/repoLabels are defined in labels/default.yml. The just apply-repo command will preserve existing labels in the
repository, while just apply-repo-overwrite will delete any labels not listed in the YAML file.
Warning
The apply-repo-overwrite command will delete any labels that are not listed in the YAML files. Use with caution.