Skip to content

Commit d6999a7

Browse files
authored
Merge pull request #101 from vedansh-5/autoLabel
added auto labeler workflows
2 parents d9a8712 + 509f8b4 commit d6999a7

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

.github/labeler.yml

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