Skip to content

Commit 078c25e

Browse files
Merge pull request #15 from PhantomUIx/feat/ci-labeler
feat: add labeler
2 parents 23bcce7 + 8c63cf0 commit 078c25e

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

.github/labeler.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
"component:display":
2+
- any:
3+
- changed-files:
4+
- any-glob-to-any-file:
5+
- lib/phantom/display/**/*
6+
- lib/phantom/display.zig
7+
8+
"component:fonts":
9+
- any:
10+
- changed-files:
11+
- any-glob-to-any-file:
12+
- lib/phantom/fonts/**/*
13+
- lib/phantom/fonts.zig
14+
15+
"component:gpu":
16+
- any:
17+
- changed-files:
18+
- any-glob-to-any-file:
19+
- lib/phantom/gpu/**/*
20+
- lib/phantom/gpu.zig
21+
22+
"component:graphics":
23+
- any:
24+
- changed-files:
25+
- any-glob-to-any-file:
26+
- lib/phantom/graphics/**/*
27+
- lib/phantom/graphics.zig
28+
29+
"component:scene":
30+
- any:
31+
- changed-files:
32+
- any-glob-to-any-file:
33+
- lib/phantom/scene/**/*
34+
- lib/phantom/scene.zig
35+
36+
"component:widgets":
37+
- any:
38+
- changed-files:
39+
- any-glob-to-any-file:
40+
- lib/phantom/widgets/**/*
41+
- lib/phantom/widgets.zig

.github/workflows/labels.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Label PR"
2+
3+
on:
4+
pull_request_target:
5+
types: [edited, opened, synchronize, reopened]
6+
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
11+
jobs:
12+
labels:
13+
name: label-pr
14+
runs-on: ubuntu-24.04-arm
15+
if: "github.repository_owner == 'PhantomUIx'"
16+
steps:
17+
- uses: actions/labeler@v5

0 commit comments

Comments
 (0)