Skip to content

fix(ci): actionlint rejects runs-on ubuntu-26.04 and blocks every push #2694

Closed as not planned

Description

@dan-petty

Problem Description

The pre-push hook of every branch fails on main. The actionlint step of devops ci reports label "ubuntu-26.04" is unknown for .github/workflows/ci.yml (lines 37, 94, 158, 269, 366, 391, 438 and more). Commit 31fe55c (#2693) put the label ubuntu-26.04 on every runner. The installed actionlint 1.7.12 does not know it. The repository has no actionlint config file. A branch that has no change under .github/ fails the same way, so no one can push without --no-verify, which AGENTS.md forbids.

Evidence

  • .venv/bin/actionlint .github/workflows/ci.yml on main at 9e8317b exits with the error above (2026-10-29).
  • The other fast static checks (python version, ruff check, ruff format, zizmor) pass.

Expected

devops ci passes on main. Either pin an actionlint release that knows ubuntu-26.04, or add the label to an actionlint config (runner-label). Prefer the newer release if one exists (AGENTS.md rule 3: use the open tool). Add a check that fails when a runner label is unknown to the pinned linter.

Activity

  1. added
    source/agent
    type/infra
    status/new
    value/high
    effort/low
    on Oct 29, 2026
  2. dan-petty commented on Oct 29, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/infra. Fixes a broken CI linter step that blocks all pushes.
    • Priority: P1-High. Blocks every push on every branch; no one can merge without bypassing the hook. The regression commit 31fe55c does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.
    • Value: High. Unblocks all development in the repository.
    • Effort: Low. Pin a newer actionlint release or add a single runner-label config entry.
    • Related: fix(ci): ci jobs move from ubuntu-24.04 to ubuntu-26.04 once the workflow linter accepts the label #1501, which asks for a different change. Both concern actionlint rejecting the ubuntu-26.04 label, but #1501 changes CI job targets while the candidate fixes the linter itself.
  3. added
    priority/p1-high
    on Oct 29, 2026
  4. dan-petty commented on Oct 29, 2026

    @dan-petty
    OwnerAuthor

    Closed as not planned. The defect is not in the repository. I filed this issue after the pre-push hook of a branch failed. The cause was a stale local .venv.

    • main already pins a linter that knows ubuntu-26.04: kjanat/actionlint 1.17.0, set by chore(deps): the workflow linter comes from a maintained source #2687 in .devcontainer/Dockerfile and in the Static Analysis step of ci.yml.
    • The local .venv still held actionlint-py 1.7.12 (installed 2026-10-27, before chore(deps): the workflow linter comes from a maintained source #2687). uv run found that binary first through PATH, and it reports label "ubuntu-26.04" is unknown.
    • uv sync --all-groups --all-extras removed the stale package. With that, actionlint .github/workflows/*.yml exits 0 (version 1.17.0).
    • ubuntu-26.04 is a real hosted label (GitHub runner-images README). The upstream rhysd/actionlint has no release after v1.7.12 that knows it, so a newer pin or a runner-label config is not needed.
  5. removed
    status/new
    on Oct 30, 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

    effort/lowpriority/p1-highsource/agenttype/infravalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions