Skip to content

Instantly share code, notes, and snippets.

@knoxilla
Last active August 27, 2016 21:43
Show Gist options
  • Save knoxilla/05ebba01f5aac7331f0e2035097cbfb1 to your computer and use it in GitHub Desktop.
Save knoxilla/05ebba01f5aac7331f0e2035097cbfb1 to your computer and use it in GitHub Desktop.
Github custom label automation

Label Automation

Possible Schema 1

pri: blocker
pri: critical
pri: important
pri: normal
pri: low

type: feature
type: improvement
type: bug
type: task
type: invalid
type: question

status: in-progress
status: resolved

value: admin
value: consumer
value: curator
value: source

Possible Schema 2

pri-critical 
pri-high
pri-normal
pri-low

type-bug
type-feature
type-task

cat-general
cat-operations
cat-webapp
cat-qa-e2e
cat-qa-dev
cat-data
cat-search
cat-ui-ux
cat-performance
cat-research

Example repo with labels

https://github.com/CAEN/web-far-app/labels

How To

Export labels via browser console run: https://gist.github.com/MoOx/93c2853fee760f42d97f

Import labels via browser console paste and run: https://gist.github.com/Isaddo/7efebcb673a0957b9c6f07cd14826ea4

Alternatively, and npm command: https://github.com/popomore/github-labels This method uses the same 'export' format as the first gist above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment