From bc5053da81bc64c198930dc9033e6290dcf88460 Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Wed, 10 Sep 2025 16:37:46 -0500 Subject: [PATCH] chore(ci): fix CI container and hooks - Allow yamllint install on Debian 12 image with --break-system-packages (PEP 668) - Set executable bits for scripts: ci, setup-hooks, commitlint-hook --- ci.Dockerfile | 5 ++--- scripts/ci | 0 scripts/commitlint-hook | 0 scripts/setup-hooks | 0 4 files changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 scripts/ci mode change 100644 => 100755 scripts/commitlint-hook mode change 100644 => 100755 scripts/setup-hooks diff --git a/ci.Dockerfile b/ci.Dockerfile index 9e7c097..605d76f 100644 --- a/ci.Dockerfile +++ b/ci.Dockerfile @@ -21,8 +21,8 @@ RUN set -eux; \ tar -C /usr/local/bin -xzf /usr/local/bin/actionlint; \ rm -f /usr/local/bin/actionlint -# yamllint via pip -RUN pip3 install --no-cache-dir yamllint==1.35.1 +# yamllint via pip (allow install on Debian's externally-managed Python) +RUN pip3 install --break-system-packages --no-cache-dir yamllint==1.35.1 # Node + npm for prettier, markdownlint, commitlint RUN set -eux; \ @@ -38,4 +38,3 @@ RUN npm --location=global install \ WORKDIR /workspace ENTRYPOINT ["bash","-lc"] CMD ["bash"] - diff --git a/scripts/ci b/scripts/ci old mode 100644 new mode 100755 diff --git a/scripts/commitlint-hook b/scripts/commitlint-hook old mode 100644 new mode 100755 diff --git a/scripts/setup-hooks b/scripts/setup-hooks old mode 100644 new mode 100755