[GITHUB] Add Labeler action for labelling PRs automatically

This commit is contained in:
Victor Perevertkin
2021-02-05 13:41:03 +03:00
parent dd4c113594
commit f7cf2ee32d
2 changed files with 24 additions and 0 deletions

13
.github/labeler.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
# Labelling by the files touched
drivers:
- drivers/*
- sdk/lib/drivers/*
- win32ss/drivers/*
- !win32ss/drivers/font/*
freeldr:
- boot/freeldr/*
"kernel&hal":
- hal/*
- ntoskrnl/*

11
.github/workflows/labeler.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"