Skip to content

Commit bf54f25

Browse files
committedAug 29, 2020
Add labeler for PRs.
1 parent 1e6f03d commit bf54f25

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
 

‎.github/labeler.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
ci:
2+
- '.circleci/**/*'
3+
- '.github/**/*'
4+
minecraft 1.12.2:
5+
# Looks like Labeler doesn't match directories starting on '.' by default.
6+
# Include at least the root-level ones.
7+
- '.*'
8+
- '.*/**/*'
9+
- '**/*'
10+
mod magic doorknob:
11+
- 'MagicDoorknob/**/*'
12+
- 'build.gradle'
13+
mod magic mirror:
14+
- 'MagicMirror/**/*'
15+
- 'build.gradle'

‎.github/workflows/labeler.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Pull Request Labeler
2+
on:
3+
pull_request:
4+
branches:
5+
- 1.12.2
6+
7+
jobs:
8+
triage:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/labeler@v3-preview
12+
with:
13+
configuration-path: .github/labeler.yaml
14+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)