mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-10 09:43:30 +01:00
workflows/labels: use Node 24
This commit is contained in:
parent
f0c1e4b672
commit
b98ea083be
4
.github/workflows/labels.yml
vendored
4
.github/workflows/labels.yml
vendored
|
|
@ -39,6 +39,10 @@ jobs:
|
||||||
update:
|
update:
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
if: github.event_name != 'schedule' || github.repository_owner == 'NixOS'
|
if: github.event_name != 'schedule' || github.repository_owner == 'NixOS'
|
||||||
|
env:
|
||||||
|
# TODO: Remove after 2026-03-04, when Node 24 becomes the default.
|
||||||
|
# https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
||||||
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -147,9 +147,8 @@ module.exports = async ({ github, context, core, dry }) => {
|
||||||
).labels
|
).labels
|
||||||
|
|
||||||
Object.assign(prLabels, evalLabels, {
|
Object.assign(prLabels, evalLabels, {
|
||||||
'12.approved-by: package-maintainer': Array.from(maintainers).some(
|
'12.approved-by: package-maintainer':
|
||||||
(m) => approvals.has(m),
|
maintainers.intersection(approvals).size > 0,
|
||||||
),
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue