summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-10-25 14:34:54 +0100
committerGitHub <noreply@github.com>2019-10-25 14:34:54 +0100
commit32fdf4805ae8d76649fa821275cc2333c5e8bba9 (patch)
treefef6e512824ce435ab009586f91ff0842b7e283a
parent581a8fa0580628d3c2c248bfe966d433f5460ab7 (diff)
Initial actions/labeler config (#7091)0.7.47
* Initial actions/labeler config * Initial actions/labeler config - add extra from review
-rw-r--r--.github/labeler.yml18
-rw-r--r--.github/workflows/labeler.yml11
2 files changed, 29 insertions, 0 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000000..f4b07765c5
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,18 @@
+core:
+ - quantum/**/*
+ - tmk_core/**/*
+ - drivers/**/*
+ - tests/**/*
+ - util/**/*
+keymap:
+ - users/**/*
+ - layouts/**/*
+ - keyboards/**/keymap/**/*
+cli:
+ - bin/qmk
+ - requirements.txt
+ - lib/python/**/*
+python:
+ - '**/*.py'
+documentation:
+ - docs/**/*
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 0000000000..dcafb97dc9
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,11 @@
+name: "Pull Request Labeler"
+on:
+- pull_request
+
+jobs:
+ triage:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/labeler@v2
+ with:
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"