github-label-sync
A command-line interface for synchronizing GitHub labels. More information: https://github.com/Financial-Times/github-label-sync.
-
Synchronize labels using a local
labels.jsonfile:
github-label-sync --access-token {{token}} {{repository_name}} -
Synchronize labels using a specific labels JSON file:
github-label-sync --access-token {{token}} --labels {{url|path/to/json_file}} {{repository_name}} -
Perform a dry run instead of actually synchronizing labels:
github-label-sync --access-token {{token}} --dry-run {{repository_name}} -
Keep labels that aren't in
labels.json:
github-label-sync --access-token {{token}} --allow-added-labels {{repository_name}} -
Synchronize using the
GITHUB_ACCESS_TOKENenvironment variable:
github-label-sync {{repository_name}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.