Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Update automate-the-org's Add Update Label Weekly action to the Node 24 runtime

未关闭
#227 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
58/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions, node.js
领域
ci-cd, devops, release

调研方向

从 hackforla/automate-the-org 的 gha-add-update-label-weekly/action.yml 开始,检查其中的 using 声明,然后检查 dist/index.js 和仓库的构建配置是否依赖某个 Node 版本。确认只有一个 action.yml,在新的 v1.x 版本发布后移动 v1 标签,并在 hackforla/devops 以及另一个使用者中手动运行 add-update-label-weekly.yml,以确认 Node.js 20 的弃用注释已消失。

由索引模型根据 Issue 内容生成。

描述

complexity: small feature: maintenance role: DevOps Engineer size: 1pt
Overview

We need hackforla/automate-the-org's Add Update Label Weekly action to declare the node24 runtime instead of node20, because GitHub has deprecated Node 20 and is already force-running the action on Node 24. Every weekly run in devops, devops-security and incubator carries the deprecation annotation, and the forcing is transitional behaviour rather than a fix.

Action Items
  • Note the change lands in a different repository. The fix is in hackforla/automate-the-org, which is not on this board and carries none of our label axes, so this issue tracks the work and the PR goes there. Nothing in hackforla/devops is edited by this issue.
  • In gha-add-update-label-weekly/action.yml, change runs: using: 'node20' to using: 'node24'. Line 19 as of 2026-09-12; find it by using: if it has drifted.
  • Confirm this is still the only action.yml in that repository before assuming the change is complete — it was on both 2026-09-10 and 2026-09-12, so there is no second action to sweep, but a new one would need the same treatment.
  • Check whether dist/index.js needs rebuilding against Node 24, or whether the declaration change alone is sufficient. It is a bundled JS action, so the runtime declaration and the bundle are separate concerns; if the build pipeline pins a Node version, bump it in the same pass.
  • Cut a new v1.x release and move the floating v1 tag onto it.
  • Do not open PRs on the three consumer repos. devops, devops-security and incubator each call hackforla/automate-the-org/gha-add-update-label-weekly@v1 from their own .github/workflows/add-update-label-weekly.yml. All three float on @v1, so moving that tag propagates the fix to all three at once. Three consumer PRs would be redundant and would not make the fix land any sooner.
  • After the release, run one consumer's workflow by hand — gh workflow run add-update-label-weekly.yml -R hackforla/devops — and confirm the run's annotations no longer include "Node.js 20 is deprecated". The ATO workflow has workflow_dispatch, so this does not have to wait for the weekly schedule.
  • Confirm the same on a second consumer. That checks the floating tag actually resolving for every caller rather than one repo's result.
Resources/Instructions
  • The annotation, seen on real runs: "Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: hackforla/automate-the-org/gha-add-update-label-weekly@v1". Found 2026-09-10 while running the post-merge regression check for https://github.com/hackforla/devops/issues/220.
  • A green run history is not evidence against this. The forced upgrade is GitHub's transition behaviour, so runs succeed today and will keep succeeding until the forcing stops. This is a countdown, not a breakage — check GitHub's current deprecation timeline when sizing the urgency.
  • Deliberately out of scope: the actions/create-github-app-token@v3 app-id deprecation. The same runs carry a second annotation saying app-id is deprecated in favour of client-id. That line sits in each of the three consumer repos' own workflow files rather than in the action — but those files appear to have been vendored from automate-the-org in the first place, so whether a local fix would survive the next rollout is unconfirmed. Settle that before editing any of the three; this change does not fix it.
  • main and the v1 tag were the same commit as of 2026-09-10, and v1 resolved to v1.3.0, so what the three repos run today is what is on that repo's main.
  • Precedent for filing here rather than there: https://github.com/hackforla/devops/issues/182, a deprecation bump whose code lives in the @danielridgebot repo, and https://github.com/hackforla/devops/issues/223, which tracks bot-repo work on this board for the same reason.
主要语言
PowerShell
星标
8
派生
10
平均合并
7 小时 30 分钟
30 天内合并 PR
22

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

hackforla/devops 的其他 Issue

查看 hackforla/devops 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。