Skip to content

Instantly share code, notes, and snippets.

@KoheiKanagu
Last active December 12, 2023 09:08
Show Gist options
  • Save KoheiKanagu/ebb91418218ade846a13fb0dc40ffcd9 to your computer and use it in GitHub Desktop.
Save KoheiKanagu/ebb91418218ade846a13fb0dc40ffcd9 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -euxo pipefail
# https://github.com/flutter/flutter/labels
gh label create "P0" --description "Priority 0 issue such as a build break or regression." --color "#FF0000"
gh label create "P1" --description "Priority 1 issue likely blocking a tier-1 customer now." --color "#DD0000"
gh label create "P2" --description "Priority 2 issue likely blocking a tier-1 customer soon." --color "#AA0000"
gh label create "P3" --description "Priority 3 issue (the default for issues we're likely to work on after P0-P2 issues)" --color "#990000"
gh label create "P4" --description "Priority 4 issue (default for bugs, things we're likely to work on)" --color "#770000"
gh label create "P5" --description "Priority 5 issue (default for new feature requests; things we'd like to work on)" --color "#550000"
gh label create "P6" --description "Priority 6 issue (a feature or bug we're unlikely to address)" --color "#330000"
gh label create "needs-triage" --description "needs to be reviewed" --color "#D6393F"
gh label create "waiting for" --description "Something is blocking it" --color "#000000"
gh label create "security" "Security issue" --color "#F44336"
gh label create "refactoring" --description "Refactoring" --color "#4DD0E1"
gh label create "tool" --description "Issues related to tools that are not directly related to the main product" --color "#5319E7"
gh label create "design" --description "Issues related to design" --color "#81DF79"
gh label create "test" --description "Issues related to testing" --color "#F9D0C4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment