]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Initial actions/labeler config (#7091)
authorJoel Challis <git@zvecr.com>
Fri, 25 Oct 2019 13:34:54 +0000 (14:34 +0100)
committerGitHub <noreply@github.com>
Fri, 25 Oct 2019 13:34:54 +0000 (14:34 +0100)
* Initial actions/labeler config

* Initial actions/labeler config - add extra from review

.github/labeler.yml [new file with mode: 0644]
.github/workflows/labeler.yml [new file with mode: 0644]

diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644 (file)
index 0000000..f4b0776
--- /dev/null
@@ -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 (file)
index 0000000..dcafb97
--- /dev/null
@@ -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 }}"