1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

Add Pull Request Labeler

This commit is contained in:
Jameer Pathan 2020-12-12 12:00:26 +05:30 committed by Yu Watanabe
parent 258190a0d5
commit 292420ce4b
2 changed files with 41 additions and 0 deletions

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

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

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

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