Skip to content

Commit b46c6a0

Browse files
authored
ci: auto label pr (#95)
1 parent a842ca5 commit b46c6a0

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/labeler.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
ci:
2+
- .github/*
3+
- .github/**/*
4+
- .circleci/*
5+
- .circleci/**/*
6+
- .travis.yml
7+
8+
build:
9+
- composer.json
10+
- composer.lock
11+
- package-lock.json
12+
- package.json
13+
- yarn.lock
14+
15+
docs:
16+
- docs/*
17+
- docs/**/*
18+
19+
feat:
20+
- src/*
21+
- src/**/*
22+
23+
test:
24+
- phpunit.*
25+
- test/*
26+
- test/**/*
27+
- tests/*
28+
- tests/**/*
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Auto label Pull Requests
2+
3+
on: pull_request_target
4+
5+
jobs:
6+
triage:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/labeler@main
10+
with:
11+
repo-token: '${{ secrets.GITHUB_TOKEN }}'

0 commit comments

Comments
 (0)