CI: update actions/labeler to v5

* Version 5 of this action updated the runtime to Node.js 20.
 All scripts are now run with Node.js 20 instead of Node.js 16
 and are affected by any breaking changes between Node.js 16 and 20.
* adapt the labeler configuration to the new format

Follow-up to #16251 this was reverted with b870c16534
Link: https://github.com/openwrt/openwrt/pull/16451
Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16451
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Goetz Goerisch 2024-09-21 20:00:33 +00:00 committed by Robert Marko
parent b83c7448d3
commit 51aa9130f7
2 changed files with 177 additions and 87 deletions

90
.github/labeler.yml vendored
View File

@ -1,121 +1,203 @@
# target/*
"target/airoha":
- changed-files:
- any-glob-to-any-file:
- "target/linux/airoha/**"
"target/apm821xx":
- changed-files:
- any-glob-to-any-file:
- "target/linux/apm821xx/**"
"target/archs38":
- changed-files:
- any-glob-to-any-file:
- "target/linux/archs38/**"
"target/armsr":
- changed-files:
- any-glob-to-any-file:
- "target/linux/armsr/**"
"target/at91":
- changed-files:
- any-glob-to-any-file:
- "target/linux/at91/**"
- "package/boot/at91bootstrap/**"
- "package/boot/uboot-at91/**"
"target/ath79":
- changed-files:
- any-glob-to-any-file:
- "target/linux/ath79/**"
"target/bcm27xx":
- changed-files:
- any-glob-to-any-file:
- "target/linux/bcm27xx/**"
- "package/kernel/bcm27xx-gpu-fw/**"
"target/bcm47xx":
- changed-files:
- any-glob-to-any-file:
- "target/linux/bcm47xx/**"
"target/bcm4908":
- changed-files:
- any-glob-to-any-file:
- "target/linux/bcm4908/**"
- "package/boot/uboot-bcm4908/**"
"target/bcm53xx":
- changed-files:
- any-glob-to-any-file:
- "target/linux/bcm53xx/**"
- "package/boot/uboot-bcm53xx/**"
"target/bcm63xx":
- changed-files:
- any-glob-to-any-file:
- "target/linux/bcm63xx/**"
- "package/kernel/bcm63xx-cfe/**"
- "package/boot/arm-trusted-firmware-bcm63xx/**"
"target/bmips":
- changed-files:
- any-glob-to-any-file:
- "target/linux/bmips/**"
- "package/boot/uboot-bmips/**"
"target/d1":
- changed-files:
- any-glob-to-any-file:
- "target/linux/d1/**"
- "package/boot/uboot-d1/**"
- "package/boot/opensbi/**"
"target/gemini":
- changed-files:
- any-glob-to-any-file:
- "target/linux/gemini/**"
"target/imx":
- changed-files:
- any-glob-to-any-file:
- "target/linux/imx/**"
- "package/boot/imx-bootlets/**"
- "package/boot/uboot-imx/**"
"target/ipq40xx":
- changed-files:
- any-glob-to-any-file:
- "target/linux/ipq40xx/**"
"target/ipq806x":
- changed-files:
- any-glob-to-any-file:
- "target/linux/ipq806x/**"
"target/qualcommax":
- changed-files:
- any-glob-to-any-file:
- "target/linux/qualcommax/**"
"target/kirkwood":
- changed-files:
- any-glob-to-any-file:
- "target/linux/kirkwood/**"
- "package/boot/uboot-kirkwood/**"
"target/lantiq":
- changed-files:
- any-glob-to-any-file:
- "target/linux/lantiq/**"
- "package/kernel/lantiq/**"
- "package/firmware/lantiq/**"
- "package/boot/uboot-lantiq/**"
"target/layerscape":
- changed-files:
- any-glob-to-any-file:
- "target/linux/layerscape/**"
- "package/firmware/layerscape/**"
- "package/boot/tfa-layerscape/**"
- "package/boot/uboot-layerscape/**"
- "package/network/utils/layerscape/**"
"target/malta":
- changed-files:
- any-glob-to-any-file:
- "target/linux/malta/**"
"target/mediatek":
- changed-files:
- any-glob-to-any-file:
- "target/linux/mediatek/**"
- "package/boot/arm-trusted-firmware-mediatek/**"
- "package/boot/uboot-mediatek/**"
"target/mpc85xx":
- changed-files:
- any-glob-to-any-file:
- "target/linux/mpc85xx/**"
"target/mvebu":
- changed-files:
- any-glob-to-any-file:
- "target/linux/mvebu/**"
- "package/boot/arm-trusted-firmware-mvebu/**"
- "package/boot/uboot-mvebu/**"
"target/mxs":
- changed-files:
- any-glob-to-any-file:
- "target/linux/mxs/**"
- "package/boot/uboot-mxs/**"
"target/octeon":
- changed-files:
- any-glob-to-any-file:
- "target/linux/octeon/**"
"target/omap":
- changed-files:
- any-glob-to-any-file:
- "target/linux/omap/**"
- "package/boot/uboot-omap/**"
"target/pistachio":
- changed-files:
- any-glob-to-any-file:
- "target/linux/pistachio/**"
"target/qoriq":
- changed-files:
- any-glob-to-any-file:
- "target/linux/qoriq/**"
"target/ramips":
- changed-files:
- any-glob-to-any-file:
- "target/linux/ramips/**"
"target/realtek":
- changed-files:
- any-glob-to-any-file:
- "target/linux/realtek/**"
"target/rockchip":
- changed-files:
- any-glob-to-any-file:
- "target/linux/rockchip/**"
- "package/boot/arm-trusted-firmware-rockchip/**"
- "package/boot/uboot-rockchip/**"
"target/sifiveu":
- changed-files:
- any-glob-to-any-file:
- "target/linux/sifiveu/**"
- "package/boot/uboot-sifiveu/**"
- "package/boot/opensbi/**"
"target/sunxi":
- changed-files:
- any-glob-to-any-file:
- "target/linux/sunxi/**"
- "package/boot/arm-trusted-firmware-sunxi/**"
- "package/boot/uboot-sunxi/**"
"target/tegra":
- changed-files:
- any-glob-to-any-file:
- "target/linux/tegra/**"
- "package/boot/uboot-tegra/**"
"target/uml":
- changed-files:
- any-glob-to-any-file:
- "target/linux/uml/**"
"target/x86":
- changed-files:
- any-glob-to-any-file:
- "target/linux/x86/**"
"target/zynq":
- changed-files:
- any-glob-to-any-file:
- "target/linux/zynq/**"
- "package/boot/uboot-zynq/**"
# target/imagebuilder
"target/imagebuilder":
- changed-files:
- any-glob-to-any-file:
- "target/imagebuilder/**"
# kernel
"kernel":
- changed-files:
- any-glob-to-any-file:
- "target/linux/generic/**"
- "target/linux/**/config-*"
- "target/linux/**/patches-*"
@ -123,15 +205,23 @@
- "package/kernel/linux/**"
# core packages
"core packages":
- changed-files:
- any-glob-to-any-file:
- "package/**"
# build/scripts/tools
"build/scripts/tools":
- changed-files:
- any-glob-to-any-file:
- "include/**"
- "scripts/**"
- "tools/**"
# toolchain
"toolchain":
- changed-files:
- any-glob-to-any-file:
- "toolchain/**"
# GitHub/CI
"GitHub/CI":
- changed-files:
- any-glob-to-any-file:
- ".github/**"

View File

@ -14,7 +14,7 @@ jobs:
name: Pull Request Labeler
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
@ -25,7 +25,7 @@ jobs:
echo "release-tag=$(echo ${{ github.base_ref }} | sed 's/openwrt-/release\//')" >> $GITHUB_OUTPUT
fi
- uses: buildsville/add-remove-label@v2.0.0
- uses: buildsville/add-remove-label@v2.0.1
if: ${{ steps.check-branch.outputs.release-tag }}
with:
token: ${{secrets.GITHUB_TOKEN}}