chore: add labeler workflow

This commit is contained in:
Eric Vantillard 2023-04-04 14:51:28 +02:00
parent ac83a5d64e
commit b308944fd0
2 changed files with 44 additions and 0 deletions

32
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,32 @@
'm:release':
- 'CHANGELOG.md'
- 'gradle.properties'
'm:docs':
- '*.md'
- 'docs/**/*'
'm:workflow':
- .github/**
'm:gradle':
- 'gradle*'
- 'gradle/**'
- '**/settings.gradle.*'
- '**/build.gradle.*'
- 'sjpp.jar'
'm:source':
- 'skin/**/*'
- 'src/**/*'
- 'stdlib/**/*'
- 'svg/**/*'
- 'test/**/*'
- 'themes/**/*'
- 'manifest.txt'
'm:docker':
- Dockerfile
'm:native':
- .github/workflows/native-image.yml

12
.github/workflows/labeler.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4