Skip to content

Scaffold templates use inconsistent action pins and still test on end-of-life Node 20 #122

Closed

Description

@TMHSDigital

Why it matters

New repos inherit whatever the templates pin. Right now that is a mix of actions/checkout@v4 and @v6, older Pages and Python action majors, and a Node 20 CI matrix. Node 20 reached end of life in April 2026. Every new repo starts with Dependabot noise and a matrix entry for an unsupported runtime.

Evidence

  • checkout@v4 appears 8 times, in validate.yml.j2, pages.yml.j2, label-sync.yml.j2 and others. checkout@v6 appears 6 times, in ci.yml.j2, publish.yml.j2 and release*.j2. The meta-repo itself is on @v7.
  • pages.yml.j2 uses configure-pages@v5 / upload-pages-artifact@v4, while pages.mcp.yml.j2 uses @v6 / @v5.
  • setup-python@v5 and stale@v9 are old majors.
  • scaffold/templates/ci.yml.j2:18 has matrix node-version: [20, 22], and package.json.j2 has engines >=20.0.0.

Suggested approach

  • Define the pin set once, either as Jinja globals in generator.py or a pins.json, and reference it from every template.
  • Bump to current majors, and change the Node matrix to [22, 24] with engines >=22.
  • Add a test asserting each action has exactly one version across all templates.
  • Have Dependabot or a scheduled job flag when the template pins fall behind the meta-repo's own workflows.

Done when

All templates share one pin per action, Node 20 is gone, and a test enforces consistency.

Activity

  1. added
    dependencies
    priority: low
    on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciespriority: lowscaffold

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions