From 5722d64529d9d08ceef133a465927fa65064155d Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Thu, 1 Oct 2026 21:25:28 +0200 Subject: [PATCH] The lint job linted one workflow file while the repo has two MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit actionlint in ci.yml was invoked on .github/workflows/ci.yml only, so geo-freshness.yml — the scheduled geo gate — was linted by whoever happened to run it locally, not by the pipeline. A workflow added later would have been unlinted by default, which is how a gate quietly stops covering the thing it is for. Fixed by globbing the workflows directory, so the step covers whatever is there instead of a list someone has to remember. Verified on this commit: actionlint 1.7.12 -no-color .github/workflows/*.yml exits 0 with no findings over both files (ci.yml, geo-freshness.yml). --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13d0858..4607a71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,9 @@ jobs: "https://github.com/rhysd/actionlint/releases/download/v${VERSION}/actionlint_${VERSION}_linux_amd64.tar.gz" echo "${SHA256} /tmp/actionlint.tar.gz" | sha256sum -c - tar xzf /tmp/actionlint.tar.gz -C /tmp actionlint - /tmp/actionlint -no-color .github/workflows/ci.yml + # Both files, by glob: a workflow added later is linted by the same + # step without anyone remembering to add it to a list. + /tmp/actionlint -no-color .github/workflows/*.yml # Both smoke scripts are gates, so a broken one has to fail loudly here # rather than look like a passing run with zero assertions.