From efee4ff56ccbea3fcf3c7a5f3e6c1c4c39a9e819 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Wed, 21 Aug 2019 15:52:55 -0700 Subject: [meta] Add auto-labeling GitHub action --- .github/labeler.yml | 39 +++++++++++++++++++++++++++++++++++++++ .github/workflows/label.yml | 12 ++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/label.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..e24e4803db --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,39 @@ +android: +- platform/android/**/* + +core: +- platform/default/**/* +- src/**/* +- test/**/* +- vendor/**/* + +documentation: +- ./**/*.md +- ./**/*.md.ejs +- platform/**/docs/**/* + +ios: +- platform/ios/**/* +- platform/darwin/**/* + +linux: +- platform/linux/**/* + +macos: +- platform/macos/**/* +- platform/darwin/**/* + +node.js: +- platform/node/**/* + +offline: +- platform/android/src/offline/**/* +- platform/default/mbgl/storage/offline* +- include/mbgl/storage/offline* + +qt: +- platform/qt/**/* + +telemetry: +- platform/android/MapboxGLAndroidSDK/**/telemetry/**/* +- platform/ios/vendor/mapbox-events-ios/**/* diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000000..c01c356959 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,12 @@ +name: Labeler +on: [pull_request] + +jobs: + label: + + runs-on: ubuntu-latest + + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" -- cgit v1.2.1