Github Label Sync Cheatsheet

ยท 116 words ยท 1 minute read

github-label-sync: A command-line interface for synchronizing GitHub labels.

Synchronize labels using a local labels.json file:

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_TOKEN environment variable:

github-label-sync repository_name

More information: https://github.com/Financial-Times/github-label-sync .

I hope this post helps you. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .

Share:
waffarx cash back