mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 09:42:07 +02:00

* pages*: improve page descriptions * ical: improve page description * cockpit-desktop: remove unneeded word from page description * nc: improve description wording --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
24 lines
787 B
Markdown
24 lines
787 B
Markdown
# github-label-sync
|
|
|
|
> Synchronize GitHub labels.
|
|
> More information: <https://github.com/Financial-Times/github-label-sync>.
|
|
|
|
- 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}}`
|