0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Githubのラベルをいい感じに更新する

Posted at

github-label-syncをインストール

npm install -g github-label-sync

labels.jsonをカレントに追加

[
  {
    "name": "duplicate",
    "color": "ededed",
    "description": "This issue or Pull Request already exists"
  },
  {
    "name": "help wanted",
    "color": "e99695",
    "description": "Extra attention is needed"
  },
  {
    "name": "good first issue",
    "color": "7057ff",
    "description": "Good for newcomers",
    "aliases": [
      "beginner-friendly",
      "beginner",
      "good-starter-issue",
      "good for beginner",
      "Good for beginners",
      "starter-issue",
      "starter"
    ]
  },
  {
    "name": "Priority: Critical",
    "color": "ee0701"
  },
  {
    "name": "Priority: High",
    "color": "d93f0b"
  },
  {
    "name": "Priority: Medium",
    "color": "fbca04"
  },
  {
    "name": "Priority: Low",
    "color": "0e8a16"
  },
  {
    "name": "Status: Abandoned",
    "color": "000000",
    "description": "The issue or Pull Request is wontfix",
    "aliases": [
      "wontfix",
      "invalid"
    ]
  },
  {
    "name": "Status: Blocked",
    "color": "ee0701",
    "description": "Progress on the issue is Blocked",
    "aliases": [
      "blocked"
    ]
  },
  {
    "name": "Status: In Progress",
    "description": "Work in Progress",
    "color": "cccccc"
  },
  {
    "name": "Status: Proposal",
    "color": "d4c5f9",
    "description": "Request for comments",
    "aliases": [
      "idea",
      "Idea",
      "proposal",
      "Proposal",
      "discussion"
    ]
  },
  {
    "name": "Status: PR Welcome",
    "color": "2E7733",
    "description": "Welcome to Pull Request",
    "aliases": [
      "Patch Welcome",
      "Status: Ready for PR"
    ]
  },
  {
    "name": "Status: Review Needed",
    "color": "fbca04",
    "description": "Request for review comments"
  },
  {
    "name": "Status: Need More Info",
    "color": "F9C90A",
    "description": "Lacks enough info to make progress"
  },
  {
    "name": "Type: Breaking Change",
    "color": "b60205",
    "description": "Includes breaking changes",
    "aliases": [
      "breaking",
      "breaking-change"
    ]
  },
  {
    "name": "Type: Bug",
    "color": "ee0701",
    "description": "Bug or Bug fixes",
    "aliases": [
      "bug"
    ]
  },
  {
    "name": "Type: Documentation",
    "color": "5319e7",
    "description": "Documentation only changes",
    "aliases": [
      "documents",
      "document"
    ]
  },
  {
    "name": "Type: Feature",
    "color": "1d76db",
    "description": "New Feature",
    "aliases": [
      "enhancement"
    ]
  },
  {
    "name": "Type: Refactoring",
    "color": "fbca04",
    "description": "A code change that neither fixes a bug nor adds a feature",
    "aliases": [
      "refactor"
    ]
  },
  {
    "name": "Type: Testing",
    "color": "257759",
    "description": "Adding missing tests or correcting existing tests",
    "aliases": [
      "test",
      "testing"
    ]
  },
  {
    "name": "Type: Maintenance",
    "color": "abd406",
    "description": "Repository Maintenance",
    "aliases": [
      "greenkeeper",
      "maintenance"
    ]
  },
  {
    "name": "Type: CI",
    "color": "ffd412",
    "description": "Changes to CI configuration files and scripts",
    "aliases": [
      "travis",
      "ci",
      "circleci"
    ]
  },
  {
    "name": "Type: Question",
    "color": "cc317c",
    "description": "Further information is requested",
    "aliases": [
      "question"
    ]
  }
]

ラベルのアップデート

https://github.com/settings/tokens
でrepo権限がついたtokenを引数にして実行。

github-label-sync -a token your_user/your_repository
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?