Skip to content

Commit 51ca631

Browse files
marker-daomarker dao ®
andauthored
CI: Auto-label PRs with .d.ts changes (#33156)
Co-authored-by: marker dao ® <youdontknow@marker-dao.eth>
1 parent 4da19c5 commit 51ca631

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.d.ts:
2+
- changed-files:
3+
- any-glob-to-any-file: '**/*.d.ts'

.github/workflows/labeler.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Label PR by changed files
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, synchronize, reopened]
6+
7+
jobs:
8+
label:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
steps:
14+
- uses: actions/labeler@v5
15+
with:
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)