Harald Hoyer 460d2c
From 0e30f33a32322f9b4510b14d4b835ba9ca20764b Mon Sep 17 00:00:00 2001
Harald Hoyer 460d2c
From: =?UTF-8?q?J=C3=B3hann=20B=2E=20Gu=C3=B0mundsson?= <johannbg@gmail.com>
Harald Hoyer 460d2c
Date: Fri, 7 Aug 2020 18:39:46 +0000
Harald Hoyer 460d2c
Subject: [PATCH] New labels file
Harald Hoyer 460d2c
Harald Hoyer 460d2c
---
Harald Hoyer 460d2c
 .github/master-label-triggers.yml                  | 313 ---------------------
Harald Hoyer 460d2c
 .../workflows/{master-labels.yml => labels.yml}    |  10 +-
Harald Hoyer 460d2c
 2 files changed, 4 insertions(+), 319 deletions(-)
Harald Hoyer 460d2c
Harald Hoyer 460d2c
diff --git a/.github/master-label-triggers.yml b/.github/master-label-triggers.yml
Harald Hoyer 460d2c
deleted file mode 100644
Harald Hoyer 460d2c
index 8c654939..00000000
Harald Hoyer 460d2c
--- a/.github/master-label-triggers.yml
Harald Hoyer 460d2c
+++ /dev/null
Harald Hoyer 460d2c
@@ -1,313 +0,0 @@
Harald Hoyer 460d2c
-# Add 'needs review' label to any pull request
Harald Hoyer 460d2c
-needs review:
Harald Hoyer 460d2c
-- "*"
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add 'repository' label to any root file changes
Harald Hoyer 460d2c
-repository:
Harald Hoyer 460d2c
-- ./*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add 'github' label to any .github/ file changes
Harald Hoyer 460d2c
-github:
Harald Hoyer 460d2c
-- .github/*
Harald Hoyer 460d2c
-- .github/**/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add 'mkosi' label to any .mkosi/ file changes
Harald Hoyer 460d2c
-mkosi:
Harald Hoyer 460d2c
-- .mkosi/*
Harald Hoyer 460d2c
-- .mkosi/**/*
Harald Hoyer 460d2c
-- .mkosi/**/**/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add 'dracut install' label to any install/  file changes
Harald Hoyer 460d2c
-dracut install:
Harald Hoyer 460d2c
-- install/*
Harald Hoyer 460d2c
-- install/**/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add 'example' label to any examples/ file changes
Harald Hoyer 460d2c
-example:
Harald Hoyer 460d2c
-- examples/*
Harald Hoyer 460d2c
-- examples/**/*
Harald Hoyer 460d2c
-- examples/**/**/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'modules' label to any modules.d/ file changes
Harald Hoyer 460d2c
-modules:
Harald Hoyer 460d2c
-- modules.d/*
Harald Hoyer 460d2c
-- modules.d/**/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'bash' label to any bash module changes
Harald Hoyer 460d2c
-- modules.d/00bash/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'bootchart' label to any bootchart module changes
Harald Hoyer 460d2c
-- modules.d/00bootchart/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'dash' label to any dash module changes
Harald Hoyer 460d2c
-- modules.d/00dash/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'mksh' label to any mksh module changes
Harald Hoyer 460d2c
-- modules.d/00mksh/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'systemd' label to any systemd module changes
Harald Hoyer 460d2c
-- modules.d/00systemd/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'warpclock' label to any warpclock module changes
Harald Hoyer 460d2c
-- modules.d/00warpclock/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'fips' label to any fips module changes
Harald Hoyer 460d2c
-- modules.d/01fips/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'systemd-initrd' label to any systemd-initrd module changes
Harald Hoyer 460d2c
-- modules.d/01systemd-initrd/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'caps' label to any caps module changes
Harald Hoyer 460d2c
-- modules.d/02caps/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'systemd-networkd' label to any systemd-networkd module changes
Harald Hoyer 460d2c
-- modules.d/02systemd-networkd/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'modsign' label to any modsign module changes
Harald Hoyer 460d2c
-- modules.d/03modsign/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'rescue' label to any rescue module changes
Harald Hoyer 460d2c
-- modules.d/03rescue/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'watchdog' label to any watchdog module changes
Harald Hoyer 460d2c
-- modules.d/04watchdog/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'busybox' label to any busybox module changes
Harald Hoyer 460d2c
-- modules.d/05busybox/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'rngd' label to any rngd module changes
Harald Hoyer 460d2c
-- modules.d/06rngd/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'i18n' label to any i18n module changes
Harald Hoyer 460d2c
-- modules.d/10i18n/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'convertfs' label to any convertfs module changes
Harald Hoyer 460d2c
-- modules.d/30convertfs/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'network-legacy' label to any network-legacy module changes
Harald Hoyer 460d2c
-- modules.d/35network-legacy/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'network-manager' label to any network-manager module
Harald Hoyer 460d2c
-- modules.d/35network-manager/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'network' label to any network module changes
Harald Hoyer 460d2c
-- modules.d/40network/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'ifcfg' label to any ifcfg module changes
Harald Hoyer 460d2c
-- modules.d/45ifcfg/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'url-lib' label to any url-lib module changes
Harald Hoyer 460d2c
-- modules.d/45url-lib/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'drm' label to any drm module changes
Harald Hoyer 460d2c
-- modules.d/50drm/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'gensplash' label to any gensplash module changes
Harald Hoyer 460d2c
-- modules.d/50gensplash/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'plymouth' label to any plymouth module changes
Harald Hoyer 460d2c
-- modules.d/50plymouth/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'cms' label to any cms module changes
Harald Hoyer 460d2c
-- modules.d/80cms/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'lvmmerge' label to any lvmmerge module changes
Harald Hoyer 460d2c
-- modules.d/80lvmmerge/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'cio_ignore' label to any cio_ignore module changes
Harald Hoyer 460d2c
-- modules.d/81cio_ignore/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'btrfs' label to any btrfs module changes
Harald Hoyer 460d2c
-- modules.d/90btrfs/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'crypt' label to any crypt module changes
Harald Hoyer 460d2c
-- modules.d/90crypt/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'dm' label to any dm module changes
Harald Hoyer 460d2c
-- modules.d/90dm/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'dmraid' label to any dmraid module changes
Harald Hoyer 460d2c
-- modules.d/90dmraid/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'dmsquash-live' label to any dmsquash-live module changes
Harald Hoyer 460d2c
-- modules.d/90dmsquash-live/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'dmsquash-live-ntfs' label to any dmsquash-live-ntfs changes
Harald Hoyer 460d2c
-- modules.d/90dmsquash-live-ntfs/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'kernel-modules' label to any kernel-modules module changes
Harald Hoyer 460d2c
-- modules.d/90kernel-modules/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'kernel-modules-extra' label to any kernel-modules-extra changes
Harald Hoyer 460d2c
-- modules.d/90kernel-modules-extra/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'kernel-network-modules' label to any kernel-network-modules changes
Harald Hoyer 460d2c
-- modules.d/90kernel-network-modules/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'livenet' label to any livenet module changes
Harald Hoyer 460d2c
-- modules.d/90livenet/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'lvm' label to any lvm module changes
Harald Hoyer 460d2c
-- modules.d/90lvm/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'mdraid' label to any mdraid module changes
Harald Hoyer 460d2c
-- modules.d/90mdraid/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'multipath' label to any multipath module changes
Harald Hoyer 460d2c
-- modules.d/90multipath/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'nvdimm' label to any nvdimm module changes
Harald Hoyer 460d2c
-- modules.d/90nvdimm/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'ppcmac' label to any ppcmac module changes
Harald Hoyer 460d2c
-- modules.d/90ppcmac/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'qemu' label to any qemu module changes
Harald Hoyer 460d2c
-- modules.d/90qemu/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'qemu-net' label to any qemu-net module changes
Harald Hoyer 460d2c
-- modules.d/90qemu-net/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'stratis' label to any stratis module changes
Harald Hoyer 460d2c
-- modules.d/90stratis/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'crypt-gpg' label to any crypt-gpg module changes
Harald Hoyer 460d2c
-- modules.d/91crypt-gpg/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'crypt-loop' label to any crypt-loop module changes
Harald Hoyer 460d2c
-- modules.d/91crypt-loop/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'zipl' label to any zipl module changes
Harald Hoyer 460d2c
-- modules.d/91zipl/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'cifs' label to any cifs module changes
Harald Hoyer 460d2c
-- modules.d/95cifs/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'dasd' label to any dasd module changes
Harald Hoyer 460d2c
-- modules.d/95dasd/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'dasd_mod' label to any dasd_mod module changes
Harald Hoyer 460d2c
-- modules.d/95dasd_mod/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'dasd_rules' label to any dasd_rules module changes
Harald Hoyer 460d2c
-- modules.d/95dasd_rules/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'dcssblk' label to any dcssblk module changes
Harald Hoyer 460d2c
-- modules.d/95dcssblk/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'debug' label to any debug module changes
Harald Hoyer 460d2c
-- modules.d/95debug/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'fcoe' label to any fcoe module changes
Harald Hoyer 460d2c
-- modules.d/95fcoe/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'fcoe-uefi' label to any fcoe-uefi module changes
Harald Hoyer 460d2c
-- modules.d/95fcoe-uefi/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'fstab-sys' label to any fstab-sys module changes
Harald Hoyer 460d2c
-- modules.d/95fstab-sys/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'iscsi' label to any iscsi module changes
Harald Hoyer 460d2c
-- modules.d/95iscsi/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'lunmask' label to any lunmask module changes
Harald Hoyer 460d2c
-- modules.d/95lunmask/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'nbd' label to any nbd module changes
Harald Hoyer 460d2c
-- modules.d/95nbd/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'nfs' label to any nfs module changes
Harald Hoyer 460d2c
-- modules.d/95nfs/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'nvmf' label to any nvmf module changes
Harald Hoyer 460d2c
-- modules.d/95nvmf/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'qeth_rules' label to any qeth_rules module changes
Harald Hoyer 460d2c
-- modules.d/95qeth_rules/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'resume' label to any resume module changes
Harald Hoyer 460d2c
-- modules.d/95resume/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'rootfs-block' label to any rootfs-block module changes
Harald Hoyer 460d2c
-- modules.d/95rootfs-block/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'ssh-client' label to any ssh-client module changes
Harald Hoyer 460d2c
-- modules.d/95ssh-client/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'terminfo' label to any terminfo module changes
Harald Hoyer 460d2c
-- modules.d/95terminfo/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'udev-rules' label to any udev-rules module changes
Harald Hoyer 460d2c
-- modules.d/95udev-rules/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'virtfs' label to any virtfs module changes
Harald Hoyer 460d2c
-- modules.d/95virtfs/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'zfcp' label to any zfcp module changes
Harald Hoyer 460d2c
-- modules.d/95zfcp/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'zfcp_rules' label to any zfcp_rules module changes
Harald Hoyer 460d2c
-- modules.d/95zfcp_rules/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'znet' label to any znet module changes
Harald Hoyer 460d2c
-- modules.d/95znet/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'securityfs' label to any securityfs module changes
Harald Hoyer 460d2c
-- modules.d/96securityfs/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'biosdevname' label to any biosdevname module changes
Harald Hoyer 460d2c
-- modules.d/97biosdevname/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'masterkey' label to any masterkey module changes
Harald Hoyer 460d2c
-- modules.d/97masterkey/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'dracut-systemd' label to any dracut-systemd module changes
Harald Hoyer 460d2c
-- modules.d/98dracut-systemd/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'ecryptfs' label to any ecryptfs module changes
Harald Hoyer 460d2c
-- modules.d/98ecryptfs/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'integrity' label to any integrity module changes
Harald Hoyer 460d2c
-- modules.d/98integrity/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'pollcdrom' label to any pollcdrom module changes
Harald Hoyer 460d2c
-- modules.d/98pollcdrom/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'selinux' label to any selinux module changes
Harald Hoyer 460d2c
-- modules.d/98selinux/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'syslog' label to any syslog module changes
Harald Hoyer 460d2c
-- modules.d/98syslog/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'usrmount' label to any usrmount module changes
Harald Hoyer 460d2c
-- modules.d/98usrmount/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'base' label to any base module changes
Harald Hoyer 460d2c
-- modules.d/99base/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'fs-lib' label to any fs-lib module changes
Harald Hoyer 460d2c
-- modules.d/99fs-lib/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'img-lib' label to any img-lib module changes
Harald Hoyer 460d2c
-- modules.d/99img-lib/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'memstrack' label to any memstrack module changes
Harald Hoyer 460d2c
-- modules.d/99memstrack/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'shutdown' label to any shutdown module changes
Harald Hoyer 460d2c
-- modules.d/99shutdown/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'squash' label to any squash module changes
Harald Hoyer 460d2c
-- modules.d/99squash/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add a 'uefi-lib' label to any uefi-lib module changes
Harald Hoyer 460d2c
-- modules.d/99uefi-lib/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add 'test' label to any test/ file changes
Harald Hoyer 460d2c
-test:
Harald Hoyer 460d2c
-- test/*
Harald Hoyer 460d2c
-- test/**/*
Harald Hoyer 460d2c
-
Harald Hoyer 460d2c
-# Add 'dracut' label for anything else
Harald Hoyer 460d2c
-dracut:
Harald Hoyer 460d2c
-- any: ['!.github/', '!.mkosi/', '!install/', '!examples/', '!modules.d/', '.test/']
Harald Hoyer 460d2c
diff --git a/.github/workflows/master-labels.yml b/.github/workflows/labels.yml
Harald Hoyer 460d2c
similarity index 50%
Harald Hoyer 460d2c
rename from .github/workflows/master-labels.yml
Harald Hoyer 460d2c
rename to .github/workflows/labels.yml
Harald Hoyer 460d2c
index 249b2148..0e8d34d6 100644
Harald Hoyer 460d2c
--- a/.github/workflows/master-labels.yml
Harald Hoyer 460d2c
+++ b/.github/workflows/labels.yml
Harald Hoyer 460d2c
@@ -1,17 +1,15 @@
Harald Hoyer 460d2c
-# This workflow will triage pull request and apply a 
Harald Hoyer 460d2c
-# label based on the paths that are modified in the pull request.
Harald Hoyer 460d2c
+name: Label the Pull Requests automatically via Cron
Harald Hoyer 460d2c
 
Harald Hoyer 460d2c
-name: master-labeler
Harald Hoyer 460d2c
 on:
Harald Hoyer 460d2c
-   schedule:
Harald Hoyer 460d2c
+    schedule:
Harald Hoyer 460d2c
         - cron: '*/15 * * * *'
Harald Hoyer 460d2c
 
Harald Hoyer 460d2c
 jobs:
Harald Hoyer 460d2c
     label:
Harald Hoyer 460d2c
-        runs-on: ubuntu-latest
Harald Hoyer 460d2c
+        runs-on: ubuntu-18.04
Harald Hoyer 460d2c
         steps:
Harald Hoyer 460d2c
             - uses: paulfantom/periodic-labeler@master
Harald Hoyer 460d2c
               env:
Harald Hoyer 460d2c
                   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Harald Hoyer 460d2c
                   GITHUB_REPOSITORY: ${{ github.repository }}
Harald Hoyer 460d2c
-                  LABEL_MAPPINGS_FILE: .github/master-label-triggers.yml
Harald Hoyer 460d2c
+                  LABEL_MAPPINGS_FILE: .github/labeler.yml
Harald Hoyer 460d2c