Skip to content

Lint GitHub Actions workflows via the shared actionlint workflow - #13206

Draft
ascheman wants to merge 2 commits into
apache:masterfrom
aschemaven:feature/actionlint-via-shared
Draft

ascheman wants to merge 2 commits into
apache:masterfrom
aschemaven:feature/actionlint-via-shared

Conversation

@ascheman

Copy link
Copy Markdown
Contributor

Adds actionlint linting of this repository's GitHub Actions workflows, using the shared reusable workflow apache/maven-gh-actions-shared/.github/workflows/actionlint.yml@v5 (a one-line caller) instead of a standalone super-linter setup.

Draft: depends on apache/maven-gh-actions-shared#322 landing on v5 first — the @v5 caller resolves only then. Verified green end-to-end against the fork branch of the shared workflow (super-linter slim-v7.1.0, actionlint 1.7.1).

🤖 Generated with Claude Code

https://claude.ai/code/session_01SzYpt848HdNm1xVA4vBR3F

ascheman and others added 2 commits September 20, 2026 09:29
Add .github/workflows/actionlint.yml as a one-line caller of the shared
reusable workflow apache/maven-gh-actions-shared/.github/workflows/actionlint.yml@v5,
which runs actionlint through github/super-linter (restricted to the
GitHub Actions validator; the ASF allowed-actions policy does not permit
the stand-alone actionlint action). Replaces the standalone approach in
apache#13083.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SzYpt848HdNm1xVA4vBR3F
actionlint (via the shared workflow) flags the unquoted redirections in
the two "Extract Maven distribution" steps. Quote them, matching the fix
already applied in the actionlint workflow itself.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SzYpt848HdNm1xVA4vBR3F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant