ci: lint GitHub Actions workflows with actionlint - #32
Open
jrepp wants to merge 2 commits into
Open
Conversation
jrepp
force-pushed
the
release/npm-oidc-publish
branch
from
September 9, 2026 09:54
86f7bf7 to
8b3da6f
Compare
Validate ci.yml, pages.yml, and release.yml on every push and pull request. Downloads the pinned actionlint v1.7.12 binary and verifies its sha256 checksum.
Resolve issues surfaced by actionlint in release.yml: - Quote $GITHUB_ENV and $GITHUB_OUTPUT (SC2086) - Use ./* glob for zip (SC2035) - Bump softprops/action-gh-release to v3.0.3 (v1 runner too old)
jrepp
force-pushed
the
release/npm-oidc-publish
branch
from
September 9, 2026 10:08
560cd99 to
95639c3
Compare
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.
Summary
Add an actionlint job to CI that validates every GitHub Actions workflow (
ci.yml,pages.yml,release.yml) on every push and pull request.Fixes a gap where workflow changes (e.g.
release.yml, which only triggers on tag pushes/workflow_dispatch) were never exercised or linted in PR CI.Changes
workflow-lintjob in.github/workflows/ci.ymlactionlintv1.7.12 and verifies its sha256 checksum./actionlintover the repository workflowsrelease.yml:$GITHUB_ENV/$GITHUB_OUTPUT(SC2086)./*glob in the WASM zip step (SC2035)softprops/action-gh-releaseto v3.0.3 (v1 runner too old for GitHub Actions)Validation
actionlint_1.7.12_checksums.txtworkflow-lintjob passes on this PR; all other CI checks green