Skip to content

Add actionlint to CI for GitHub Actions workflow validation#136

Merged
lex57ukr merged 2 commits intomainfrom
133-add-actionlint-to-ci
Feb 1, 2026
Merged

Add actionlint to CI for GitHub Actions workflow validation#136
lex57ukr merged 2 commits intomainfrom
133-add-actionlint-to-ci

Conversation

@lex57ukr
Copy link
Contributor

@lex57ukr lex57ukr commented Feb 1, 2026

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

  • Add actionlint step to CI lint job (pre-installed on ubuntu-latest runners)
  • Add lint-actionlint target to Makefile for local validation
  • Update CLAUDE.md and CONTRIBUTING.md documentation

- 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>
@lex57ukr lex57ukr added the enhancement New feature or request label Feb 1, 2026
Copilot AI review requested due to automatic review settings February 1, 2026 22:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-actionlint Makefile 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>
@lex57ukr lex57ukr merged commit 2a448e2 into main Feb 1, 2026
5 checks passed
@lex57ukr lex57ukr deleted the 133-add-actionlint-to-ci branch February 1, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add actionlint to CI for GitHub Actions workflow validation

1 participant