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>
master
Joel Challis 2020-10-18 20:40:37 +01:00 committed by GitHub
parent 6ad813e811
commit 8456625655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

19
.github/labeler.yml vendored 100644
View File

@ -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/**/*

13
.github/workflows/labeler.yml vendored 100644
View File

@ -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 }}