Skip to content

Commit 66c636d

Browse files
committed
ci: configure GitHub labelers
1 parent 9c54e65 commit 66c636d

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/labeler.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
ci:
2+
- changed-files:
3+
- any-glob-to-all-files:
4+
- .github/**
5+
6+
documentation:
7+
- changed-files:
8+
- any-glob-to-all-files:
9+
- CONTRIBUTING.md
10+
- CHANGELOG.md
11+
- README.md
12+
13+
example:
14+
- changed-files:
15+
- any-glob-to-all-files: example/**
16+
17+
test:
18+
- changed-files:
19+
- any-glob-to-all-files:
20+
- test/**
21+
- example/macos/RunnerTests/**/*.swift
22+
- example/macos/RunnerUITests/**/*.swift

.github/workflows/labeler.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Pull Request Labeler
2+
on: [pull_request_target]
3+
4+
jobs:
5+
labeler:
6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/labeler@v5

0 commit comments

Comments
 (0)