{"repo":"EndBug/label-sync","free":true,"listed":false,"github":"https://github.com/EndBug/label-sync","clone":"git clone https://github.com/EndBug/label-sync.git","description":":octocat: An action that allows you to sync labels from a repository or a config file","language":"TypeScript","stars":45,"topics":["actions","github","labels","sync","repository","utility","workflow","ci","hacktoberfest"],"license":"MIT","category":"workflow-automation","readme_excerpt":"label-sync An action that allows you to sync labels from a repository or a config file. Example workflow: This is only a sample workflow to illustrate all the options: if you want to see an actual workflow you can check out the one in this repo here. Config files If you want to use a config file you can create your own following the instructions below. If you want to start off by copying the labels from another repository, you can use my EndBug/export-label-config action, that will generate one for you. How to create a config file: - Create a JSON or YAML file, with one of these extensions: .json , .yaml , .yml . - Every label should be an array element: add some square brackets [] if you need to. - Every element of the array should be an object with the following properties: - name - The name of the label. - color - The color of the label, with or without a leading # . - description - [optional] The description of the label (max 100 characters). - aliases - [optional] An array containing the \"aliases\" of the label. If an existing label's name is an alias that label will be edited to match your config: this way you don't loose issues and PRs that have been labeled previously. This is how it would end up looking: Note that color may be specified in either 000000 or '#000000' format. Mind the quotes when using yaml. If you want to see an actual config file, you can check out the one in this repo here. This action can either read a local file or fetch it from a custom URL. If yo","default_branch":null,"files":null,"tree":[],"storefront":"/r/EndBug","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EndBug/label-sync/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}