Skip to content

Commit 88c5df1

Browse files
authored
Merge pull request #167 from sue445/feature/labeler
Add labeler
2 parents c29ccea + 59c3376 commit 88c5df1

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

.github/labeler.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
go-module:
2+
- changed-files:
3+
- any-glob-to-any-file: "ruby/**/*"
4+
5+
ruby-gem:
6+
- changed-files:
7+
- any-glob-to-any-file: "gem/**/*"

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ on:
1010
- synchronize
1111
- reopened
1212
paths-ignore:
13+
- ".github/labeler.yml"
1314
- ".github/release.yml"
15+
- ".github/workflows/labeler.yml"
1416
- ".github/workflows/patch_for_go_gem.yml"
1517
- "_benchmark/**"
1618

.github/workflows/labeler.yml

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

0 commit comments

Comments
 (0)