From 9d7a1dce1e580344bdbee4444ea03e46c7a4be4b Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 20 May 2026 22:39:08 +0200 Subject: [PATCH] ci(workflows): pin lint-{ansible,javascript,makefile} to host runner These three workflows install only their own toolchain (ansible-core + ansible-lint, ESLint via npm, mbake) and then call `make lint-`. The make target has `install-lint` as a prereq which dispatches on INFINITO_LINT_RUNNER (default `docker` from env/default.env), tries `make up`, imports `cli.administration.deploy.development`, and crashes because ruamel.yaml / the full Python toolchain isn't installed on the runner. Set `INFINITO_LINT_RUNNER: host` as job env so install-lint stays on the host (delegates to `python3 -m utils.install.lint`) and the lint wrappers exec the per-type scripts directly. lint-ansible passed by accident last run but had the same bug -- fixed preventively. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/lint-ansible.yml | 2 ++ .github/workflows/lint-javascript.yml | 2 ++ .github/workflows/lint-makefile.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/lint-ansible.yml b/.github/workflows/lint-ansible.yml index 9e1b20af71..194dab0604 100644 --- a/.github/workflows/lint-ansible.yml +++ b/.github/workflows/lint-ansible.yml @@ -12,6 +12,8 @@ jobs: name: 🧹 Lint Ansible runs-on: ubuntu-latest timeout-minutes: 30 + env: + INFINITO_LINT_RUNNER: host steps: - name: Checkout repository diff --git a/.github/workflows/lint-javascript.yml b/.github/workflows/lint-javascript.yml index 657597c5ac..0fdcd11a23 100644 --- a/.github/workflows/lint-javascript.yml +++ b/.github/workflows/lint-javascript.yml @@ -11,6 +11,8 @@ jobs: name: 🧹 Lint JavaScript runs-on: ubuntu-latest timeout-minutes: 5 + env: + INFINITO_LINT_RUNNER: host steps: - name: Checkout repository diff --git a/.github/workflows/lint-makefile.yml b/.github/workflows/lint-makefile.yml index 61aa7a9a98..8babe62036 100644 --- a/.github/workflows/lint-makefile.yml +++ b/.github/workflows/lint-makefile.yml @@ -11,6 +11,8 @@ jobs: name: 🧹 Lint Makefile runs-on: ubuntu-latest timeout-minutes: 5 + env: + INFINITO_LINT_RUNNER: host steps: - name: Checkout repository