Skip to content

Commit 3e223ba

Browse files
committed
feat(ci): initialize auto labeler for all pull requests
Signed-off-by: Fery Wardiyanto <ferywardiyanto@gmail.com>
1 parent 490df1d commit 3e223ba

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

.github/labeler.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
integration:
2+
- '.github/workflows/*.yml'
3+
- 'tests/Browser/**.php'
4+
5+
docs:
6+
- '.env.example'
7+
- '**.md'
8+
9+
deployment:
10+
- '.github/workflows/deploy.yml'
11+
- 'scripts/deploy.php'
12+
- 'scripts/deploy/**'
13+
14+
api:
15+
- 'src/**.php'
16+
- 'routes/*.php'
17+
18+
localization:
19+
- 'resources/lang/**'
20+
21+
'ui/ux':
22+
- 'resources/views/**'
23+
24+
'db: schema':
25+
- 'src/Models/**.php'
26+
- 'database/migrations/**.php'
27+
28+
enhancement:
29+
- '**'

.github/workflows/triage.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Triage
2+
3+
on: [pull_request_target]
4+
5+
jobs:
6+
labels:
7+
name: Labeling
8+
runs-on: ubuntu-latest
9+
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- uses: actions/labeler@v4
18+
with:
19+
dot: true

0 commit comments

Comments
 (0)