Skip to content

Commit 39dee26

Browse files
committed
Add applicable project labels and ensure PRs have one of Task,Bug
1 parent 019d59e commit 39dee26

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/allowed-labels.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Labels for tracking statistics and history
2+
- name: Task
3+
color: f5f7f9
4+
description: "A general update to the code base for language clarification, missing actions, tests, etc."
5+
- name: Bug
6+
color: f5f7f9
7+
description: "An update to fix incorrect code or typos."
8+
9+
# Labels to visually distinguish special types of issues
10+
- name: Urgent
11+
color: "00FFFF"
12+
description: "Very important and needs attention"
13+
- name: Epic
14+
color: "d8bfd8"
15+
description: "Contains many smaller pieces to work on separately"
16+
- name: Internal
17+
color: "f2bb22"
18+
description: "To help track internal tickets in a single location."

.github/workflows/label_check.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Label Checker
2+
on: # yamllint disable-line rule:truthy
3+
pull_request:
4+
branches:
5+
- main
6+
types:
7+
- opened
8+
- synchronize
9+
- reopened
10+
- labeled
11+
- unlabeled
12+
13+
jobs:
14+
check_stats_labels:
15+
name: Check Stats labels
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: docker://agilepathway/pull-request-label-checker:latest
19+
with:
20+
one_of: Task,Bug
21+
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)