Skip to content

CI: make hugo.yml lint-compliant, drop stale exemptions - #690

Merged
cwhite911 merged 2 commits into
OSGeo:mainfrom
cwhite911:ci-stale-exemptions
Sep 17, 2026
Merged

cwhite911 merged 2 commits into
OSGeo:mainfrom
cwhite911:ci-stale-exemptions

Conversation

@cwhite911

Copy link
Copy Markdown
Contributor

The pre-commit (actionlint), yamllint, and zizmor exemptions for .github/workflows/hugo.yml said "remove once #599 merges". #599 merged, but hugo.yml still had the lint issues the exemptions were hiding: missing document start, two over-long wget lines, and unquoted runner.temp (SC2086). This fixes hugo.yml, removes the exemptions, and drops the yamllint ignores for the compose files (which only needed document-start markers).

Verified: pre-commit run --all-files clean; both compose files still parse.

Part of the cleanup stack preparing #638.

@cwhite911 cwhite911 self-assigned this Aug 3, 2026
@cwhite911 cwhite911 added the CI Continuous Integration label Aug 3, 2026
The pre-commit, yamllint, and zizmor exemptions for hugo.yml referenced
the OSGeo#599 migration stack, which merged. Fix the remaining lint issues in
hugo.yml (document start, line length, unquoted runner.temp) and remove
the exemptions along with the yamllint ignores for the compose files.
Removing the actionlint exemption surfaced this pre-existing finding.
Rewrite the A && B || C install line as an if-block so npm ci failure
is not conditioned on the lockfile test.
@cwhite911
cwhite911 force-pushed the ci-stale-exemptions branch from 97f121d to 63c8d8e Compare August 28, 2026 03:48
@cwhite911
cwhite911 marked this pull request as ready for review August 28, 2026 03:51
@cwhite911
cwhite911 requested a review from echoix September 17, 2026 01:22
@cwhite911
cwhite911 merged commit 82bd218 into OSGeo:main Sep 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants