ci: allow custom kernel and target jobs based on labels
authorPetr Štetiar <ynezz@true.cz>
Wed, 11 Jan 2023 09:26:16 +0000 (10:26 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 27 Jan 2023 10:04:07 +0000 (11:04 +0100)
commitba3aa6233d2c269c29d5191450cdc4ad2892358f
treea764a27667982bf0133da9271351601c735c45f6
parent1a47f19080e0c8edbf4a463020118bb9ccaa3ff0
ci: allow custom kernel and target jobs based on labels

Current job triggers based on matching of changed paths is quite
limited, so lets make it possible to additionally trigger manual CI jobs
by adding CI specific pull request build labels:

 * `ci:target:x86:64` label is going to trigger CI target check jobs for
    x86/64 (sub)target.

 * `ci:kernel:x86:64` label is going to trigger CI kernel check jobs for
    x86/64 (sub)target.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
.github/workflows/label-kernel.yml [new file with mode: 0644]
.github/workflows/label-target.yml [new file with mode: 0644]