Skip to content

chore(deps): the workflow linter comes from a maintained source - #2687

Merged
dan-petty merged 2 commits into
mainfrom
chore/1119-actionlint-docker-image
Oct 29, 2026
Merged

dan-petty merged 2 commits into
mainfrom
chore/1119-actionlint-docker-image

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Summary

Replace the stalled actionlint-py PyPI wrapper (v1.7.12) with the maintained upstream actionlint v1.17.0, delivered as a digest-pinned Docker image.

Changes

  • .devcontainer/Dockerfile: adds a FROM docker.io/kjanat/actionlint:1.17.0@sha256:d484ccca… stage and COPY --from of the binary
  • pyproject.toml: removes actionlint-py from the dev dependency group
  • uv.lock: regenerated
  • src/devops_cli/commands/ci.py: changes the CheckSpec command to ["actionlint"], adds a shutil.which pre-check
  • .github/workflows/ci.yml: adds a docker:// actionlint step to the Static Analysis job
  • tests: updated to match the new invocation, added digest-parity test
  • docs: updated to reflect the new invocation

Tests

  • All 298 tests pass across test_ci.py, test_ci_dry_run.py, test_workflow_contracts.py, test_kb_manuals_metadata.py, test_architectural_invariants.py
  • Lint passes
  • Typecheck passes
  • Docs check passes

Closes #1119

Replace the stalled actionlint-py PyPI wrapper (v1.7.12) with the
maintained upstream actionlint v1.17.0, delivered as a digest-pinned
Docker image. The devcontainer Dockerfile adds a FROM stage and
COPY --from of the binary. The gate now invokes actionlint bare on
PATH. CI runs actionlint via a docker:// step.

Closes #1119
@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 17:46
@dan-petty
dan-petty merged commit 2305871 into main Oct 29, 2026
17 checks passed
@dan-petty
dan-petty deleted the chore/1119-actionlint-docker-image branch October 29, 2026 17:46
dan-petty added a commit that referenced this pull request Oct 29, 2026
## Summary

GitHub moves `ubuntu-latest` to Ubuntu 26.04 from 2026-10-19. This
change re-pins the 21 CI runner selections from `ubuntu-24.04` to the
explicit `ubuntu-26.04` label, and removes the obsolete "moves to
ubuntu-26.04 in #1501" markers.

The linter blocker (#1119, landed in #2687) is cleared: the maintained
actionlint 1.17.0 accepts `ubuntu-26.04` and lints all eight workflows
clean.

## Changes

- 8 workflow files: 21 `runs-on` selections to `ubuntu-26.04`
- `tests/test_workflow_contracts.py`: the audit-hardening job now runs
on `ubuntu-26.04`
- openspec: archive the `1501-runner-ubuntu-26-04` change

Closes #1501
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(deps): the workflow linter comes from a maintained source that knows current runner labels, replacing the stalled actionlint

1 participant