summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-10-18 20:40:37 +0100
committerGitHub <noreply@github.com>2020-10-18 20:40:37 +0100
commit84566256552d23fee04c65dd0345fbfbc4df0741 (patch)
tree8b18a1b4ebf48dbeaff7c1e884970cab21d8b0da
parent6ad813e811bd1889f8e45afcb671b118ebf5f51d (diff)
Initial auto PR labeler config (#9814)
* Initial auto PR labeler config * Update .github/labeler.yml Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update since develop merged Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
-rw-r--r--.github/labeler.yml19
-rw-r--r--.github/workflows/labeler.yml13
2 files changed, 32 insertions, 0 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000000..d74f757029
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,19 @@
+core:
+ - quantum/**/*
+ - tmk_core/**/*
+ - drivers/**/*
+ - tests/**/*
+ - util/**/*
+ - platforms/**/*
+keymap:
+ - users/**/*
+ - layouts/**/*
+ - keyboards/**/keymaps/**/*
+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..7abbbeca34
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,13 @@
+name: "Pull Request Labeler"
+
+on:
+ schedule:
+ - cron: "*/10 * * * *"
+
+jobs:
+ triage:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: fjeremic/cron-labeler@0.2.0
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}