summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 }}"