LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

github-label-sync

Synchronize GitHub repository labels from a config file

TLDR

Sync labels to a repository
$ github-label-sync --labels [labels.json] [owner/repo]
copy
Preview changes without applying them
$ github-label-sync --dry-run --labels [labels.json] [owner/repo]
copy
Keep labels not listed in the config instead of deleting them
$ github-label-sync --allow-added-labels --labels [labels.json] [owner/repo]
copy
Use a specific access token
$ github-label-sync --access-token [token] --labels [labels.json] [owner/repo]
copy
Use a labels file hosted at a URL
$ github-label-sync --labels [https://example.com/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 (by default) removing labels not present in the configuration file.The labels file is a JSON array of label objects, each with `name`, `color`, and optionally `description` and `aliases` (previous names to rename from, preserving existing issue/PR associations).

PARAMETERS

-l, --labels path-or-url

Path or URL to the JSON labels configuration file.
-d, --dry-run
Calculate the required changes without applying them.
-a, --allow-added-labels
Don't delete labels found on the repo that aren't listed in the config.
-A, --access-token token
GitHub personal access token. Falls back to the `GITHUBACCESSTOKEN` environment variable if omitted.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid