Skip to content

Commit 40b336a

Browse files
authored
Add applicable project labels and ensure PRs have one of Task,Bug (#72)
1 parent 3461d01 commit 40b336a

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

.github/allowed-labels.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Labels for tracking statistics and history
2-
- name: Task
2+
- name: Enhancement
33
color: f5f7f9
4-
description: "A general update to the code base for language clarification, missing actions, tests, etc."
4+
description: "A general update to the code base."
55
- name: Bug
66
color: f5f7f9
77
description: "An update to fix incorrect code or typos."

.github/workflows/label_check.yml

+21
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: Enhancement,Bug
21+
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)