Add actionlint to CI for GitHub Actions workflow validation#136
Merged
Add actionlint to CI for GitHub Actions workflow validation#136
Conversation
- Add actionlint step to CI lint job (pre-installed on runners) - Add lint-actionlint target to Makefile - Update CLAUDE.md and CONTRIBUTING.md documentation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR adds actionlint to the CI pipeline to automatically validate GitHub Actions workflow files for syntax errors, invalid action references, and common mistakes before merge.
Changes:
- Added actionlint step to CI lint job to validate workflow files
- Added
lint-actionlintMakefile target for local validation - Updated documentation in CLAUDE.md and CONTRIBUTING.md with actionlint usage and installation instructions
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/ci.yml | Added actionlint step to the lint job |
| Makefile | Added lint-actionlint target and updated lint dependencies |
| CONTRIBUTING.md | Updated linting guidelines to include GitHub Actions workflow validation |
| CLAUDE.md | Expanded linting documentation with actionlint installation, usage, and configuration details |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
actionlint requires installation; use raven-actions/actionlint setup action. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
Catch GitHub Actions workflow errors early by adding actionlint static analysis to CI. Workflow syntax errors, invalid action references, and common mistakes will now be caught automatically before merge.
Related Issues
Fixes #133
Changes
lint-actionlinttarget to Makefile for local validation