Set up auto-labeler for PRs (#3810)
This commit is contained in:
55
.github/labeler.yml
vendored
Normal file
55
.github/labeler.yml
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
android:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: 'platform/android/**/*'
|
||||
iOS:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'platform/ios/**/*'
|
||||
- 'platform/darwin/**/*'
|
||||
cpp-core:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'src/**/*'
|
||||
- 'include/**/*'
|
||||
documentation:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'docs/**/*'
|
||||
- 'platform/ios/ios/MapLibre.docc/**/*'
|
||||
- 'platform/android/docs/**/*'
|
||||
node:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'platform/node/**/*'
|
||||
Qt:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'platform/qt/**/*'
|
||||
windows:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'platform/windows/**/*'
|
||||
github_actions:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- '.github/**/*'
|
||||
build:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- '**/CMakeLists.txt'
|
||||
- '**/*.cmake'
|
||||
- '**/BUILD.bazel'
|
||||
- '**/*.bzl'
|
||||
OpenGL:
|
||||
- any-glob-to-any-file:
|
||||
- '**/*opengl*'
|
||||
- '**/*opengl*/**'
|
||||
- '**/gl/**'
|
||||
Vulkan:
|
||||
- any-glob-to-any-file:
|
||||
- '**/*vulkan*'
|
||||
- '**/*vulkan*/**'
|
||||
metal:
|
||||
- any-glob-to-any-file:
|
||||
- '**/*metal*'
|
||||
- '**/*metal*/**'
|
||||
12
.github/workflows/labeler.yml
vendored
Normal file
12
.github/workflows/labeler.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
name: "Pull Request Labeler"
|
||||
on:
|
||||
- pull_request_target
|
||||
|
||||
jobs:
|
||||
labeler:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v6
|
||||
Reference in New Issue
Block a user