LinuxCommandLibrary

github-label-sync

Synchronize GitHub repository labels from a config file

TLDR

Sync labels to repository

$ github-label-sync --labels [labels.json] [owner/repo]
copy
Dry run
$ github-label-sync --dry-run --labels [labels.json] [owner/repo]
copy
Allow added labels
$ github-label-sync --allow-added-labels --labels [labels.json] [owner/repo]
copy

SYNOPSIS

github-label-sync [options] owner/repo

DESCRIPTION

github-label-sync synchronizes GitHub labels with a JSON configuration file. It ensures consistent labeling across repositories by defining labels declaratively, adding missing labels, updating changed ones, and optionally removing unlisted labels.

PARAMETERS

-l, --labels file

Labels configuration file.
-d, --dry-run
Show what would change.
-a, --allow-added-labels
Don't delete unlisted labels.
-A, --access-token token
GitHub access token.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community