]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Add Pull Request Labeler
authorJameer Pathan <jameerpathan111@gmail.com>
Sat, 12 Dec 2020 06:30:26 +0000 (12:00 +0530)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Dec 2020 00:43:38 +0000 (09:43 +0900)
.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..d96566a
--- /dev/null
@@ -0,0 +1,29 @@
+hwdb:
+  - hwdb.d/**/*
+units:
+  - units/**/*
+documentation:
+  - NEWS
+  - man/*
+  - docs/*
+network:
+  - src/libsystemd-network/**/*
+  - src/network/**/*
+udev:
+  - src/udev/**/*
+  - src/libudev/*
+selinux:
+  - '**/*selinux*'
+apparmor:
+  - '**/*apparmor*'
+meson:
+  - '**/meson.build'
+  - meson_option.txt
+busctl:
+  - src/busctl/*
+systemctl:
+  - src/systemctl/*
+journal:
+  - src/journal/*
+journal-remote:
+  - src/journal-remote/*
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644 (file)
index 0000000..eecf3d9
--- /dev/null
@@ -0,0 +1,12 @@
+name: "Pull Request Labeler"
+on:
+- pull_request_target
+
+jobs:
+  triage:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/labeler@main
+      with:
+        repo-token: "${{ secrets.GITHUB_TOKEN }}"
+        configuration-path: .github/labeler.yml