Skip to content

Commit 13e08ae

Browse files
committed
chore(ci): upgrade labeler action to v6 and add base-branch labels
Updated GitHub labeler from v4 to v6 to support the new configuration format and base-branch matching capabilities. Migrated all existing file-based label rules to the v6 format using changed-files syntax. Added core2 and core3 labels that automatically apply based on PR target branch (main and vincent-and-the-doctor respectively) using the new base-branch matching feature.
1 parent 2fbbf2c commit 13e08ae

File tree

2 files changed

+54
-24
lines changed

2 files changed

+54
-24
lines changed

.github/labeler.yml

Lines changed: 53 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,100 @@
11
# See https://github.com/actions/labeler
22

33
astro:
4-
- packages/astro/**
4+
- changed-files:
5+
- any-glob-to-any-file: packages/astro/**
56

67
backend:
7-
- packages/backend/**
8+
- changed-files:
9+
- any-glob-to-any-file: packages/backend/**
810

911
chrome-extension:
10-
- packages/chrome-extension/**
12+
- changed-files:
13+
- any-glob-to-any-file: packages/chrome-extension/**
1114

1215
clerk-js:
13-
- packages/clerk-js/**
16+
- changed-files:
17+
- any-glob-to-any-file: packages/clerk-js/**
1418

1519
elements:
16-
- packages/elements/**
20+
- changed-files:
21+
- any-glob-to-any-file: packages/elements/**
1722

1823
expo:
19-
- packages/expo/**
24+
- changed-files:
25+
- any-glob-to-any-file: packages/expo/**
2026

2127
express:
22-
- packages/express/**
28+
- changed-files:
29+
- any-glob-to-any-file: packages/express/**
2330

2431
fastify:
25-
- packages/fastify/**
32+
- changed-files:
33+
- any-glob-to-any-file: packages/fastify/**
2634

2735
localizations:
28-
- packages/localizations/**
36+
- changed-files:
37+
- any-glob-to-any-file: packages/localizations/**
2938

3039
nextjs:
31-
- packages/nextjs/**
40+
- changed-files:
41+
- any-glob-to-any-file: packages/nextjs/**
3242

3343
nuxt:
34-
- packages/nuxt/**
44+
- changed-files:
45+
- any-glob-to-any-file: packages/nuxt/**
3546

3647
react:
37-
- packages/react/**
48+
- changed-files:
49+
- any-glob-to-any-file: packages/react/**
3850

3951
react-router:
40-
- packages/react-router/**
52+
- changed-files:
53+
- any-glob-to-any-file: packages/react-router/**
4154

4255
remix:
43-
- packages/remix/**
56+
- changed-files:
57+
- any-glob-to-any-file: packages/remix/**
4458

4559
tanstack:
46-
- packages/tanstack-react-start/**
60+
- changed-files:
61+
- any-glob-to-any-file: packages/tanstack-react-start/**
4762

4863
testing:
49-
- packages/testing/**
64+
- changed-files:
65+
- any-glob-to-any-file: packages/testing/**
5066

5167
themes:
52-
- packages/themes/**
68+
- changed-files:
69+
- any-glob-to-any-file: packages/themes/**
5370

5471
types:
55-
- packages/types/**
72+
- changed-files:
73+
- any-glob-to-any-file: packages/types/**
5674

5775
vue:
58-
- packages/vue/**
76+
- changed-files:
77+
- any-glob-to-any-file: packages/vue/**
5978

6079
playground:
61-
- playground/**
80+
- changed-files:
81+
- any-glob-to-any-file: playground/**
6282

6383
actions:
64-
- .github/workflows/**
84+
- changed-files:
85+
- any-glob-to-any-file: .github/workflows/**
6586

6687
integration:
67-
- integration/**
88+
- changed-files:
89+
- any-glob-to-any-file: integration/**
6890

6991
agent-toolkit:
70-
- packages/agent-toolkit/**
92+
- changed-files:
93+
- any-glob-to-any-file: packages/agent-toolkit/**
94+
95+
# Base branch labels
96+
core2:
97+
- base-branch: '^main$'
98+
99+
core3:
100+
- base-branch: '^vincent-and-the-doctor$'

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818
show-progress: false
19-
- uses: actions/labeler@v4
19+
- uses: actions/labeler@v6
2020
with:
2121
repo-token: ${{ secrets.CLERK_COOKIE_PAT }}

0 commit comments

Comments
 (0)