summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2019-08-21 15:52:55 -0700
committerJason Wray <jason@mapbox.com>2019-08-21 15:52:55 -0700
commitefee4ff56ccbea3fcf3c7a5f3e6c1c4c39a9e819 (patch)
tree56b87ea2bd3bcde29412e951ea894cdb8986994e
parent16a8f3ec7a98452e0fde0077486cf7e36d86b517 (diff)
downloadqtlocation-mapboxgl-upstream/friedbunny-github-action-labels.tar.gz
[meta] Add auto-labeling GitHub actionupstream/friedbunny-github-action-labels
-rw-r--r--.github/labeler.yml39
-rw-r--r--.github/workflows/label.yml12
2 files changed, 51 insertions, 0 deletions
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 }}"