https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f7cf2ee32dd710bfe36b3…
commit f7cf2ee32dd710bfe36b3be836fbe29d484c692d
Author: Victor Perevertkin <victor.perevertkin(a)reactos.org>
AuthorDate: Fri Feb 5 13:41:03 2021 +0300
Commit: Victor Perevertkin <victor.perevertkin(a)reactos.org>
CommitDate: Fri Feb 5 13:41:03 2021 +0300
[GITHUB] Add Labeler action for labelling PRs automatically
---
.github/labeler.yml | 13 +++++++++++++
.github/workflows/labeler.yml | 11 +++++++++++
2 files changed, 24 insertions(+)
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 00000000000..c17dedd2ebe
--- /dev/null
+++ b/.github/labeler.yml
@@ -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/*
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 00000000000..331ddc9b803
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -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 }}"