ci: Label 10.rebuild-*-stdenv (#369102)

Currently ofborg does this, but there is actually no real reason this
shouldn't be done by CI
This commit is contained in:
Janne Heß 2024-12-30 20:01:31 +01:00 committed by GitHub
parent 344c99f7bf
commit 6d96c9a21e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,7 +96,12 @@ let
rebuildsByKernel
rebuildCountByKernel
;
labels = getLabels rebuildCountByKernel;
labels =
(getLabels rebuildCountByKernel)
# Adds "10.rebuild-*-stdenv" label if the "stdenv" attribute was changed
++ lib.mapAttrsToList (kernel: _: "10.rebuild-${kernel}-stdenv") (
lib.filterAttrs (_: kernelRebuilds: kernelRebuilds ? "stdenv") rebuildsByKernel
);
}
);
in