Crates.io | gh-labelx |
lib.rs | gh-labelx |
version | 0.1.1 |
source | src |
created_at | 2022-07-23 17:04:07.321722 |
updated_at | 2022-07-23 18:08:35.831366 |
description | Creates issue labels on GitHub idempotently through HashiCorp Terraform. |
homepage | https://github.com/siketyan/gh-labelx |
repository | https://github.com/siketyan/gh-labelx.git |
max_upload_size | |
id | 631558 |
size | 30,196 |
Creates issue labels on GitHub idempotently through HashiCorp Terraform.
gh extension install siketyan/gh-labelx
First, write your manifest in YAML format:
---
labels:
- name: feature
color: '0000FF'
- name: fix
color: 'FF0000'
- name: refactor
color: '00FF00'
Check your manifest is correct and can be applied to GitHub:
gh labelx -o <owner> -r <repo> plan -f <file>
Now apply to your GitHub repository:
gh labelx -o <owner> -r <repo> apply -f <file>
It's easy!