diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..bbc6e4e8d --- /dev/null +++ b/.github/labeler.yml @@ -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*/**' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..16dbac1af --- /dev/null +++ b/.github/workflows/labeler.yml @@ -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