Add actionlint configuration and CI workflow - #2397
Closed
chernojagne wants to merge 3 commits into
Closed
Conversation
added 3 commits
August 7, 2026 07:19
Sets up actionlint to lint GitHub Actions workflow files on push/PR. Adds .github/actionlint.yaml config with ShellCheck integration and .github/workflows/actionlint.yml dedicated CI workflow triggered on workflow file changes.
The paths: key is not a valid actionlint config option; only self-hosted-runner, ignore, and config-variables are supported at the top level. The nested ignore patterns were silently discarded, so pre-existing SC2006/SC2046 errors in main.yml triggered CI failures.
Author
|
Closing this — we're revising how we approach these contributions and would rather withdraw it than leave it open unattended. Apologies for the noise, and thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Adds actionlint configuration and a dedicated
CI workflow to lint the project's GitHub Actions workflow files.
Two files are added:
.github/actionlint.yaml— actionlint config with ShellCheck integration enabled.Common false-positive ShellCheck rules for GitHub Actions (
${{ }}interpolationpatterns: SC2086, SC2129, SC2155, SC1091) are suppressed to avoid noise from
legitimate GHA idioms.
.github/workflows/actionlint.yml— CI workflow triggered on changes to.github/workflows/**and the actionlint config itself. Uses actionlint's ownupstream download script (
scripts/download-actionlint.bash), so the versionstays current without pinning.
pygeoapi has 6 workflow files covering matrix builds, multi-platform Docker pushes,
and
workflow_runtriggers — all common sources of hard-to-spot YAML/shell mistakesthat actionlint catches statically.
Related Issue / discussion
No prior issue — this is a straightforward tooling addition with no behaviour change
to the project itself.
Additional information
This change was generated by Autar and reviewed by a human before
submission.
Checklist
dependencies. actionlint is downloaded at CI time via its own release script and is
not added to any project requirements file. RFC2 requirements are met.
the demo server is unaffected.
pygeoapi project, per GitHub's inbound=outbound terms.