Bump actions/checkout to v5 across devops, devops-security and incubator
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- aws, git, github-actions
- Área
- ci-cd, cloud, devops, infrastructure
Línea de trabajo
Empieza localizando los usos indicados: las líneas de .github/workflows/add-update-label-weekly.yml, terraform-apply.yaml y terraform-plan.yaml en los tres repositorios, y después lee las notas de migración de github-script v7-to-v8. Actualiza únicamente los pins de acciones especificados, verifica el plan de incubator y el push-back de terraform-docs, y usa git grep para confirmar que no quedan pins antiguos de los indicados; ten en cuenta que devops no se puede ejecutar y que devops-security necesita un PR posterior que active Terraform para la verificación.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Overview
We need to move the remaining six actions/checkout pins in devops, devops-security and incubator to @v5, and devops's actions/github-script to @v8, because all of them target Node.js 20 — GitHub has deprecated it and is force-running these on Node 24 today, so the workflows break when that fallback is withdrawn.
This is one decision and one pass across three repos, so it is one issue and three small PRs for one assignee, following the pattern of #174. The bot repo's four pins are already covered by #182 and are not part of this.
Action Items
Applies to all three repos: bump to v5, not v6 or v7, even though v7 is current. v5 is the pure Node 24 bump with no behaviour change. v6 moved the persisted git credential into a separate file, which matters wherever a workflow pushes after checkout — incubator's terraform-docs job does exactly that. v7 additionally blocks fork checkouts for pull_request_target/workflow_run. Going fully current is a real upgrade needing a real test; keep it a separate decision.
hackforla/devops — 1 PR, 2 lines in .github/workflows/add-update-label-weekly.yml:
- Line 11:
actions/checkout@v4to@v5. - Line 12:
actions/github-script@v7to@v8. v8 is the Node 24 bump (current is v9). Read the v7 to v8 migration notes before assuming it is a version bump: this step's script doesrequire('./github-actions/trigger-schedule/add-update-label-weekly/add-label.js'), i.e. it loads a local CommonJS module, which is the part most likely to be affected. - Expect not to be able to verify this one, and say so in the PR. The workflow is currently
disabled_inactivity— GitHub disabled it for repository inactivity, the same failure that took the bot down in #180 — and its only trigger isschedule:(Sundays 07:00 UTC), with noworkflow_dispatch, so it cannot be run manually either.gh api repos/hackforla/devops/actions/workflows/add-update-label-weekly.yml/runsreturnstotal_count: 0. - Do not re-enable it, add a
workflow_dispatchtrigger, or add a keepalive as part of this ticket. That is separate work of the same shape as #180 and needs its own decision about whether this automation should still run at all. Flag it in the PR and move on.
hackforla/devops-security — 1 PR, 2 lines:
-
terraform-apply.yaml:23andterraform-plan.yaml:23:actions/checkout@v4to@v5. - Both workflows filter on
paths: '**/*.tf', so a PR that only edits.github/workflows/*.yamlwill not trigger either of them and the PR will show no checks at all. That is expected, not a failure. To exercise the plan workflow in the same PR, include a no-op change to a.tffile (a comment line); otherwise leave it and verify after merge. - After the PR merges, confirm the next PR that touches a
.tffile runsWrite Terraform Plan to Pull Requestsuccessfully with no "Node.js 20 is deprecated" annotation.terraform-apply.yamlonly runs on push tomainand performs a real apply, so it is verified by that same merge, not by anything on a branch.
hackforla/incubator — 1 PR, 3 lines:
-
terraform-apply.yaml:31andterraform-plan.yaml:31:actions/checkout@v4to@v5. -
terraform-plan.yaml:55:actions/checkout@v3to@v5— this is the terraform-docs job and it is two major versions behind, the furthest behind anything in the org. - Unlike devops-security, incubator's path filter includes
**/*.yaml, so this PR triggersTerraform plan (OIDC)on itself. Both of its jobs should run on the PR — use that. - Watch the terraform-docs job specifically. It checks out
ref: ${{ github.event.pull_request.head.ref }}and runsterraform-docs/gh-actionswithgit-push: "true", pushing a commit back to the PR branch. It is the only job in any of these repos that writes to git after checkout, so it is the one place a checkout change could plausibly break something. Confirm the push-back still happens. - Confirm the
terraform-planjob still assumesarn:aws:iam::035866691871:role/incubator-tf-planvia OIDC and produces a plan.
All three:
- Do not touch third-party actions in this pass, even though several are further behind:
aws-actions/configure-aws-credentialsis on v1 in incubator'sbastion.yml:34and v3 in its two terraform workflows against v4 in devops-security,hmarr/debug-action@v1.0.0has not been released against in years, andterraform-docs/gh-actionsis pinned at v1.4.1. Each of those is a real upgrade rather than a version bump and deserves its own ticket. - After all three PRs merge, re-run the sweep to confirm nothing was missed:
git grep -n "uses: actions/" -- .github/workflowsin each repo should show nocheckout@v3, nocheckout@v4, and nogithub-script@v7.
Resources/Instructions
- Line numbers were accurate 2026-08-24 and may drift — locate each pin by its
uses:line rather than by position. - The full inventory this ticket came from, for cross-checking:
devopsadd-update-label-weekly.yml:11,12;devops-securityterraform-apply.yaml:23,terraform-plan.yaml:23;incubatorterraform-apply.yaml:31,terraform-plan.yaml:31,55. - Release notes, for the version reasoning above: checkout v5.0.0, v6.0.0, v7.0.0; github-script v8.0.0. Both v5 and v8 require runner v2.327.1 or newer, which GitHub-hosted runners are well past.
- Related: #182, the same bump for the four pins in hackforla/check-ghpages-versions. Doing that one first is not required, but it is the lowest-risk of the set.
- Related: #180, for what happens when a scheduled workflow is left disabled — the devops workflow above is in that state now.
- Lenguaje dominante
- PowerShell
- Estrellas
- 8
- Forks
- 10
- Merge medio
- 7 h 30 min
- PR fusionados (30 d)
- 22
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de hackforla/devops
-
Fix CONTRIBUTING.md's "Getting write access" section - it contradicts the fork bot and the wiki Abiertocomplexity: small feature: Onboarding good first issue role: DevOps Engineer size: 1pt
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
-
complexity: small feature: maintenance role: DevOps Engineer size: 1pt
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
complexity: small feature: maintenance role: DevOps Engineer size: 1pt
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
-
complexity: medium feature: security role: DevOps Engineer size: 3pt
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
Migrate the Terraform S3 backends off dynamodb_table onto use_lockfile and delete the lock tables Abiertocomplexity: medium feature: maintenance role: DevOps Engineer size: 2pt
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
Todos los issues de hackforla/devops
Issues similares
-
kb-infra-drift
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OCHA-DAP/ds-knowledge-base#653 · 1 comentario ·
-
intake mcp-intake needs-ac needs-human-review priority:medium type:feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Ikalus1988/MisakaNet#2102 · 2 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
llvm/lighthouse#283 ·
-
🤔 refinement needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
equinor/radix-operator#1979 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100