hackforla / hackforla/devops

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

Đang mở
#227 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
complexity: small feature: maintenance role: DevOps Engineer size: 1pt
Ngôn ngữ chính
PowerShell
Star
8
Fork
10
Merge trung bình
7 giờ 30 phút
Pull request đã merge (30 ngày)
22

Mô tả

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start in hackforla/automate-the-org's gha-add-update-label-weekly/action.yml and inspect its using declaration, then check dist/index.js and the repository's build configuration for any Node-version dependency. Verify there is only one action.yml, move the v1 tag after a new v1.x release, and manually run add-update-label-weekly.yml in hackforla/devops plus one other consumer to confirm the Node.js 20 deprecation annotation is gone.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github-actions, node.js
Lĩnh vực
ci-cd, devops, release
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
58/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.