GithubHelp home page GithubHelp logo

siketyan / gh-labelx Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 52 KB

๐Ÿท Creates issue labels on GitHub idempotently through HashiCorp Terraform.

Home Page: https://crates.io/crates/gh-labelx

License: MIT License

Rust 97.92% Shell 2.08%
github-issues cli labels rust terraform

gh-labelx's Introduction

gh-labelx

Rust crates.io

Creates issue labels on GitHub idempotently through HashiCorp Terraform.

Features

  • Idempotent: Apply twice, changes once.
  • Easy: No configuration required if you are using gh CLI.
  • Simple: Just write a simple YAML manifest to create many labels at once.
  • Extensible: Requests to GitHub are powered by Terraform. You can customise additional labels or properties using hooks after generation.

Prerequisites

gh-labelx requires HashiCorp Terraform. On macOS, you can install them via Homebrew:

brew install terraform

For other platforms, refer the official documentation: https://www.terraform.io/downloads

Getting started

gh extension install siketyan/gh-labelx

Usages

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!

gh-labelx's People

Contributors

renovate[bot] avatar siketyan avatar

Watchers

 avatar

gh-labelx's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

cargo
Cargo.toml
  • anyhow 1.0
  • clap 4.3
  • hcl-rs 0.14
  • gh-config 0.2
  • serde 1.0
  • serde_yaml 0.9
  • tempdir 0.3
  • uuid 1.3
github-actions
.github/workflows/rust.yml
  • actions/checkout v3
  • actions/cache v3
  • actions-rs/toolchain v1
  • actions-rs/clippy-check v1
  • actions-rs/cargo v1
  • actions-rs/cargo v1
  • actions/checkout v3
  • actions/cache v3
  • actions-rs/toolchain v1
  • actions-rs/cargo v1
  • actions-rs/cargo v1
  • cli/gh-extension-precompile v1

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.