본문 바로가기
IT&Tech

Github Label Tool 적용

by walter 2022. 1. 23.

github를 이용하다보면 디폴트 라벨의 설정하여 사용하는데 git-labelmaker를 이용하여 많이 사용하는 라벨을 적용해보자.

 

Github 라벨세팅

1. Install

yarn global add git-labelmaker

OR

npm i -g git-labelmaker

 

Usaged

git-labelmaker

package label load : configs/labels/(default.json or normal.json or pro.json) 선택하여 등록한다.

http://i.imgur.com/UYSjdNw.png

 

normal.json

[
    { "name": "Priority: Low", "color": "#0E8A16" },
    { "name": "Priority: Medium", "color": "#fbca04" },
    { "name": "Priority: High", "color": "#e11d21" },

    { "name": "Status: In Progress", "color": "#cccccc" },
    { "name": "Status: Completed", "color": "#0E8A16" },
    { "name": "Status: Pending", "color": "#fef2c0" },
    { "name": "Status: Review Needed", "color": "#fbca04" },

    { "name": "Type: Bug", "color": "#e11d21" },
    { "name": "Type: Maintenance", "color": "#fbca04" },
    { "name": "Type: Feature", "color": "#1D76DB" },
    { "name": "Type: Question", "color": "#fef2c0" }
]

 

참고

https://github.com/himynameisdave/git-labelmaker

https://github.com/jasonbellamy/git-label-packages

https://dalezak.medium.com/github-pro-tips-for-your-development-team-9fe0f0a48afb