Reuse GitHub's default labels during template setup

Open Beginner friendly
#33 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
95/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
github, shell
Domain
documentation

Research direction

Start with step 4 under "Use the template" in README.md, where the five type/ labels are created. Replace the creation commands for the three matching default labels with gh label edit --name, and retain gh label create for type/refactor and type/ci. Done means a new repository has all five type/ labels with the expected descriptions and no duplicate default bug, enhancement, or documentation labels.

Written by the indexing model from the issue text.

Description

good first issue type/documentation
Kind

Wrong or out of date

Location

Use the template, step 4.

Version

3ed3320

Problem

Step 4 creates type/bug, type/feature and type/documentation next to GitHub's default bug, enhancement and documentation labels. Each pair has the same purpose. A contributor or an assistant can choose the default label instead of the type/ label that this template uses.

Evidence

Step 4 uses gh label create for all five type/ labels. The issue templates use the type/ labels, and the pull-request skill requires one type/ label. This repository had both sets of labels until the maintainer removed the duplicates (#3).

Proposal

Update only step 4 in README.md. For a new repository with GitHub's default labels:

  • Use gh label edit --name to rename bug to type/bug, enhancement to type/feature and documentation to type/documentation. A rename keeps the label on the issues and PRs that already have it. Keep the type/ label descriptions from the current setup instructions.
  • Use gh label create to create type/refactor and type/ci, which have no matching default label.

After setup, all five type/ labels exist without the three duplicate default labels. Setup automation is outside the scope of this issue; see #3.

Dominant language
Shell
Stars
1
Forks
0
Avg merge
6h 59m
Merged PRs (30d)
26

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from c-w-z/commit-decision-record

All issues in c-w-z/commit-decision-record

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.