Skip to content

Commit 487262e

Browse files
authored
fix(ci): fix local dev label (bump labeler to v6) (@d1rshan) (monkeytypegame#7980)
1 parent 26c38e7 commit 487262e

2 files changed

Lines changed: 26 additions & 18 deletions

File tree

.github/labeler.yml

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,36 @@
11
api:
2-
- any: ["frontend/src/ts/ape/**/*", "backend/src/api/**/*"]
2+
- changed-files:
3+
- any-glob-to-any-file:
4+
- "frontend/src/ts/ape/**/*"
5+
- "backend/src/api/**/*"
36

47
assets:
5-
- any: ["frontend/static/**/*"]
6-
all: ["!frontend/static/**/*.html"]
8+
- all:
9+
- changed-files:
10+
- any-glob-to-any-file: "frontend/static/**/*"
11+
- all-globs-to-all-files: "!frontend/static/**/*.html"
712

813
backend:
9-
- any: ["backend/**/*"]
14+
- changed-files:
15+
- any-glob-to-any-file: "backend/**/*"
1016

1117
docs:
12-
- any: ["**/*.md"]
18+
- changed-files:
19+
- any-glob-to-any-file: "**/*.md"
1320

1421
frontend:
15-
- any: ["frontend/**/*"]
22+
- changed-files:
23+
- any-glob-to-any-file: "frontend/**/*"
1624

1725
packages:
18-
- any: ["packages/**/*"]
26+
- changed-files:
27+
- any-glob-to-any-file: "packages/**/*"
1928

20-
local dev:
21-
- any:
22-
[
23-
"**/turbo.json",
24-
"**/tsconfig.json",
25-
"**/knip.json",
26-
"**/.prettierrc",
27-
"**/.oxlintrc.json",
28-
"**/.eslintrc.cjs",
29-
]
29+
"local dev":
30+
- changed-files:
31+
- any-glob-to-any-file:
32+
- "**/turbo.json"
33+
- "**/tsconfig.json"
34+
- "**/knip.json"
35+
- "**/.prettierrc.json"
36+
- "**/.oxlintrc.json"

.github/workflows/labeler.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
pull-requests: write
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/labeler@v4
12+
- uses: actions/labeler@v6
1313
with:
1414
repo-token: "${{ secrets.API_TOKEN }}"
15+
sync-labels: true

0 commit comments

Comments
 (0)