Skip to content

Commit c717f20

Browse files
committed
add github issue labels
Adds the standard github issue labels used by AWS SDKs, and a workflow to add them to the repository. Having these labels helps with consistency across repos. The workflow doesn't remove old labels. Once the labels are added, another PR will be put up to get rid of the labels file and workflow.
1 parent 0d4eb34 commit c717f20

File tree

2 files changed

+109
-0
lines changed

2 files changed

+109
-0
lines changed

.github/labels.yml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
- name: bug
2+
color: d73a4a
3+
description: "This issue is a bug."
4+
- name: duplicate
5+
color: cfd8d7
6+
description: "This issue is a duplicate."
7+
- name: needs-triage
8+
color: c7cafc
9+
description: "This issue or PR still needs to be triaged."
10+
- name: investigating
11+
color: 0000ff
12+
description: "This issue is being investigated and/or work is in progress to resolve the issue."
13+
- name: response-requested
14+
color: "666666"
15+
description: "Waiting on additional info and feedback. Will move to 'closing-soon' in 5 days."
16+
- name: closing-soon
17+
color: "000000"
18+
description: "This issue will automatically close in 2 days unless further comments are made."
19+
- name: feature-request
20+
color: 008672
21+
description: "A feature should be added or improved."
22+
- name: guidance
23+
color: 8a19e7
24+
description: "Question that needs advice or information."
25+
- name: documentation
26+
color: f7bc35
27+
description: "This is a problem with documentation."
28+
- name: third-party
29+
color: 40C8B6
30+
description: "This issue is related to third-party libraries or applications."
31+
- name: dependencies
32+
color: 40C8B6
33+
description: "This issue is a problem in a dependency."
34+
- name: blocked
35+
color: 86499B
36+
description: "Work is blocked on this issue for this codebase. Other labels or comments may indicate why."
37+
- name: pending-release
38+
color: 86499B
39+
description: "This issue will be fixed by an approved PR that hasn't been released yet."
40+
- name: service-api
41+
color: E06A18
42+
description: "This issue is due to a problem in a service API, not the SDK implementation."
43+
- name: breaking-change
44+
color: d85658
45+
description: "This issue requires a breaking change to remediate."
46+
- name: needs-reproduction
47+
color: ffe79b
48+
description: "This issue needs reproduction."
49+
- name: needs-discussion
50+
color: ffe79b
51+
description: "This issue/PR requires more discussion with community."
52+
- name: SECURITY
53+
color: d85658
54+
description: ""
55+
- name: help wanted
56+
color: ffe79b
57+
description: "We are asking the community to submit a PR to resolve this issue."
58+
- name: wontfix
59+
color: d85658
60+
description: "We have determined that we will not resolve the issue"
61+
- name: pr/do-not-merge
62+
color: 358F18
63+
description: "This PR should not be merged at this time."
64+
- name: pr/breaking-change
65+
color: 358F18
66+
description: "This PR is a breaking change. It needs to be modified to be allowed in the current major version."
67+
- name: pr/blocked
68+
color: 358F18
69+
description: "This PR cannot be merged or reviewed, because it is blocked for some reason."
70+
- name: pr/work-in-progress
71+
color: 358F18
72+
description: "This PR is a draft and needs further work."
73+
- name: needs-review
74+
color: f996e2
75+
description: ""
76+
- name: pr/ready-to-merge
77+
color: 358F18
78+
description: "This PR is ready to be merged."
79+
- name: pr/needs-tests
80+
color: 358F18
81+
description: "This PR is missing tests."
82+
- name: contribution/core
83+
color: DA5F98
84+
description: "This is a PR that came from AWS."
85+
- name: no-auto-closure
86+
color: 009698
87+
description: "We want this issue to not be automatically closed."

.github/workflows/labeler.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: github
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
8+
jobs:
9+
labeler:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v1
14+
- name: Run Labeler
15+
if: success()
16+
uses: crazy-max/ghaction-github-labeler@v1
17+
with:
18+
yaml_file: .github/labels.yml
19+
skip_delete: true
20+
dry_run: false
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)