LinuxCommandLibrary

github-label-sync

github-label-sync

TLDR

Synchronize labels using a local labels.json file

$ github-label-sync --access-token [token] [repository_name]
copy


Synchronize labels using a specific labels JSON file
$ github-label-sync --access-token [token] --labels [url|path/to/json_file] [repository_name]
copy


Perform a dry run instead of actually synchronizing labels
$ github-label-sync --access-token [token] --dry-run [repository_name]
copy


Keep labels that aren't in labels.json
$ github-label-sync --access-token [token] --allow-added-labels [repository_name]
copy


Synchronize using the GITHUB_ACCESS_TOKEN environment variable
$ github-label-sync [repository_name]
copy

Copied to clipboard