Skip to content

Commit cb67fbd

Browse files
committed
added auto labeler workflows
Signed-off-by: Vedansh Saini <[email protected]>
1 parent 67925df commit cb67fbd

File tree

2 files changed

+76
-0
lines changed

2 files changed

+76
-0
lines changed

.github/labeler.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Frontend changes
2+
frontend:
3+
- 'src/**/*.html'
4+
- 'src/**/*.css'
5+
- 'src/index.css'
6+
- 'src/scrumStyle.css'
7+
8+
# JavaScript changes
9+
javascript:
10+
- 'src/scripts/**/*.js'
11+
- 'src/**/*.js'
12+
13+
# Core functionality
14+
core:
15+
- 'src/scripts/scrumHelper.js'
16+
- 'src/scripts/emailClientAdapter.js'
17+
18+
# Documentation
19+
documentation:
20+
- '**/*.md'
21+
- 'docs/**'
22+
- 'LICENSE'
23+
- 'README.md'
24+
25+
# Configuration files
26+
config:
27+
- '.github/**/*'
28+
- '*.json'
29+
- '*.yml'
30+
- '*.yaml'
31+
- 'package.json'
32+
- 'package-lock.json'
33+
34+
# Browser extension specific
35+
extension:
36+
- 'manifest.json'
37+
- 'src/popup.html'
38+
- 'src/scripts/main.js'
39+
40+
# Testing
41+
testing:
42+
- 'tests/**'
43+
- '**/*.test.js'
44+
- '**/*.spec.js'
45+
46+
# Dependencies
47+
dependencies:
48+
- 'package.json'
49+
- 'package-lock.json'
50+
- 'yarn.lock'
51+
52+
# Additional labels (manually applied, no patterns)
53+
bug: []
54+
codeheat: []
55+
duplicate: []
56+
enhancement: []
57+
good first issue: []
58+
hacktoberfest: []
59+
help wanted: []
60+
invalid: []
61+
question: []
62+
wontfix: []
63+
"Pull requests that update a dependency file": []

.github/workflows/labeler.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Auto Labeler
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
jobs:
8+
label:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/labeler@v4
12+
with:
13+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)