Skip to content

Commit bdcd485

Browse files
committed
ci: update labeler actions
1 parent a77db97 commit bdcd485

File tree

2 files changed

+43
-18
lines changed

2 files changed

+43
-18
lines changed

.github/labeler.yml

Lines changed: 42 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,51 @@
11
card:
2-
- changed-files:
3-
- any-glob-to-any-file: ["src/card.ts"]
2+
- changed-files:
3+
- any-glob-to-any-file:
4+
- "src/card.ts"
5+
46
card-i18n:
5-
- changed-files:
6-
- any-glob-to-any-file: ["src/translations.ts"]
7+
- changed-files:
8+
- any-glob-to-any-file:
9+
- "src/translations.ts"
10+
711
ci:
8-
- changed-files:
9-
- any-glob-to-any-file: [".github/workflows/*", "scripts/*"]
12+
- changed-files:
13+
- any-glob-to-any-file:
14+
- ".github/workflows/*"
15+
- "scripts/*"
16+
1017
dependencies:
11-
- changed-files:
12-
- any-glob-to-any-file: ["package.json", "package-lock.json"]
18+
- changed-files:
19+
- any-glob-to-any-file:
20+
- "package.json"
21+
- "package-lock.json"
22+
1323
doc-translation:
14-
- changed-files:
15-
- any-glob-to-any-file: ["docs/*"]
24+
- changed-files:
25+
- any-glob-to-any-file:
26+
- "docs/*"
27+
1628
documentation:
17-
- changed-files:
18-
- any-glob-to-any-file: ["README.md", "CONTRIBUTING.md", "CODE_OF_CONDUCT.md", "SECURITY.md"]
29+
- changed-files:
30+
- any-glob-to-any-file:
31+
- "README.md"
32+
- "CONTRIBUTING.md"
33+
- "CODE_OF_CONDUCT.md"
34+
- "SECURITY.md"
35+
1936
github_actions:
20-
- changed-files:
21-
- any-glob-to-any-file: [".github/*.yml", ".github/workflows/*"]
37+
- changed-files:
38+
- any-glob-to-any-file:
39+
- ".github/*.yml"
40+
- ".github/workflows/*"
41+
2242
stats-card:
23-
- changed-files:
24-
- any-glob-to-any-file: ["api/index.ts", "src/fetcher/*"]
43+
- changed-files:
44+
- any-glob-to-any-file:
45+
- "api/index.ts"
46+
- "src/fetcher/*"
47+
2548
themes:
26-
- changed-files:
27-
- any-glob-to-any-file: ["themes/index.ts"]
49+
- changed-files:
50+
- any-glob-to-any-file:
51+
- "themes/index.ts"

.github/workflows/label-pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ jobs:
2424
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
2525
with:
2626
repo-token: "${{ secrets.GITHUB_TOKEN }}"
27+
sync-labels: true

0 commit comments

Comments
 (0)